[py-svn] r10383 - py/branch/py-collect/test

hpk at codespeak.net hpk at codespeak.net
Thu Apr 7 00:19:11 CEST 2005


Author: hpk
Date: Thu Apr  7 00:19:11 2005
New Revision: 10383

Modified:
   py/branch/py-collect/test/drive.py
Log:
fix a few code path


Modified: py/branch/py-collect/test/drive.py
==============================================================================
--- py/branch/py-collect/test/drive.py	(original)
+++ py/branch/py-collect/test/drive.py	Thu Apr  7 00:19:11 2005
@@ -68,11 +68,11 @@
             capture = SimpleOutErrCapture() 
         try: 
             self.start(colitem)
+            res = None 
             try: 
                 try:
                     res = self.runinner(colitem) 
                 except (KeyboardInterrupt, Exit): 
-                    res = None
                     raise 
                 except colitem.Outcome, res: 
                     if not hasattr(res, 'excinfo'): 



More information about the pytest-commit mailing list