* rather expose internal exceptions under py.test.ACTION.Exception
with ACTION being skip, fail, exit, raises. * move and refine test_outcome.py tests into runner tests --HG-- branch : trunk
This commit is contained in:
@@ -138,7 +138,7 @@ class PluginManager(object):
|
||||
mod = importplugin(modname)
|
||||
except KeyboardInterrupt:
|
||||
raise
|
||||
except py.test.exc.Skipped:
|
||||
except py.test.skip.Exception:
|
||||
e = py.std.sys.exc_info()[1]
|
||||
self._hints.append("skipped plugin %r: %s" %((modname, e.msg)))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user