* 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:
holger krekel
2010-04-28 08:42:56 +02:00
parent d5e463605e
commit 78d33a2f28
10 changed files with 112 additions and 106 deletions

View File

@@ -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: