[pypy-svn] r38231 - pypy/dist/pypy/tool/pytest
antocuni at codespeak.net
antocuni at codespeak.net
Fri Feb 9 11:41:57 CET 2007
Author: antocuni
Date: Fri Feb 9 11:41:56 2007
New Revision: 38231
Modified:
pypy/dist/pypy/tool/pytest/result.py
Log:
Don't miss tests whose outcome is FAIL.
Modified: pypy/dist/pypy/tool/pytest/result.py
==============================================================================
--- pypy/dist/pypy/tool/pytest/result.py (original)
+++ pypy/dist/pypy/tool/pytest/result.py Fri Feb 9 11:41:56 2007
@@ -103,7 +103,7 @@
return self['outcome'].lower() == 'ok'
def iserror(self):
- return self['outcome'].lower()[:3] == 'err'
+ return self['outcome'].lower()[:3] == 'err' or self['outcome'].lower() == 'fail'
def istimeout(self):
return self['outcome'].lower() == 't/o'
More information about the Pypy-commit
mailing list