[py-svn] r54622 - py/trunk/py/test

fijal at codespeak.net fijal at codespeak.net
Sat May 10 15:39:42 CEST 2008


Author: fijal
Date: Sat May 10 15:39:39 2008
New Revision: 54622

Modified:
   py/trunk/py/test/session.py
Log:
"How this could ever worked..."


Modified: py/trunk/py/test/session.py
==============================================================================
--- py/trunk/py/test/session.py	(original)
+++ py/trunk/py/test/session.py	Sat May 10 15:39:39 2008
@@ -33,10 +33,10 @@
         if isinstance(next, stopitems):
             try:
                 next._skipbykeyword(keyword)
-                yield next
-            except Skipped:
                 if session.config.option.keyword_oneshot:
                     keyword = None
+                yield next
+            except Skipped:
                 excinfo = py.code.ExceptionInfo()
                 reporter(repevent.SkippedTryiter(excinfo, next))
         else:



More information about the pytest-commit mailing list