[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:
parent
150a396f66
commit
c5f6b437c8
|
@ -89,6 +89,7 @@ class Session(AbstractSession):
|
||||||
self.footer(colitems)
|
self.footer(colitems)
|
||||||
except Exit, ex:
|
except Exit, ex:
|
||||||
pass
|
pass
|
||||||
|
return self.getitemoutcomepairs(Failed)
|
||||||
|
|
||||||
def runtraced(self, colitem):
|
def runtraced(self, colitem):
|
||||||
if self.shouldclose():
|
if self.shouldclose():
|
||||||
|
|
Loading…
Reference in New Issue