[pypy-svn] r11499 - pypy/dist/lib-python-2.3.4/test
pedronis at codespeak.net
pedronis at codespeak.net
Wed Apr 27 02:34:25 CEST 2005
Author: pedronis
Date: Wed Apr 27 02:34:25 2005
New Revision: 11499
Modified:
pypy/dist/lib-python-2.3.4/test/conftest.py
Log:
output of output tests has test name prepended, need to add it before comparison
Modified: pypy/dist/lib-python-2.3.4/test/conftest.py
==============================================================================
--- pypy/dist/lib-python-2.3.4/test/conftest.py (original)
+++ pypy/dist/lib-python-2.3.4/test/conftest.py Wed Apr 27 02:34:25 2005
@@ -201,7 +201,7 @@
finally:
sys.stdout = oldsysout
# we want to compare outputs
- result = capturesysout.getvalue()
+ result = self.fspath.purebasename+"\n"+capturesysout.getvalue() # regrtest itself had the test_name at the top of captured output
expected = outputpath.read(mode='r')
if result != expected:
reportdiff(expected, result)
More information about the Pypy-commit
mailing list