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

arigo at codespeak.net arigo at codespeak.net
Fri Dec 21 10:55:41 CET 2007


Author: arigo
Date: Fri Dec 21 10:55:40 2007
New Revision: 49974

Modified:
   py/trunk/py/test/session.py
Log:
Restore the following behavior: py.test exits with an exit code 1
when there are failures.


Modified: py/trunk/py/test/session.py
==============================================================================
--- py/trunk/py/test/session.py	(original)
+++ py/trunk/py/test/session.py	Fri Dec 21 10:55:40 2007
@@ -89,6 +89,7 @@
                 self.footer(colitems) 
         except Exit, ex:
             pass
+        return self.getitemoutcomepairs(Failed)
 
     def runtraced(self, colitem):
         if self.shouldclose(): 



More information about the pytest-commit mailing list