[svn r49974] Restore the following behavior: py.test exits with an exit code 1

when there are failures.

--HG--
branch : trunk
This commit is contained in:
arigo 2007-12-21 10:55:40 +01:00
parent 150a396f66
commit c5f6b437c8
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ class Session(AbstractSession):
self.footer(colitems)
except Exit, ex:
pass
return self.getitemoutcomepairs(Failed)
def runtraced(self, colitem):
if self.shouldclose():