From c5f6b437c8233bc32747002feca269eebb24c57e Mon Sep 17 00:00:00 2001 From: arigo Date: Fri, 21 Dec 2007 10:55:40 +0100 Subject: [PATCH] [svn r49974] Restore the following behavior: py.test exits with an exit code 1 when there are failures. --HG-- branch : trunk --- py/test/session.py | 1 + 1 file changed, 1 insertion(+) diff --git a/py/test/session.py b/py/test/session.py index e53c58251..507880fe2 100644 --- a/py/test/session.py +++ b/py/test/session.py @@ -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():