[pypy-svn] r2952 - pypy/trunk/src/pypy/tool
arigo at codespeak.net
arigo at codespeak.net
Thu Feb 12 00:25:13 CET 2004
Author: arigo
Date: Thu Feb 12 00:25:12 2004
New Revision: 2952
Modified:
pypy/trunk/src/pypy/tool/testit.py
Log:
Fix to run the test suite under the cvs head of CPython.
This is just one more workaround for unittest.py.
Modified: pypy/trunk/src/pypy/tool/testit.py
==============================================================================
--- pypy/trunk/src/pypy/tool/testit.py (original)
+++ pypy/trunk/src/pypy/tool/testit.py Thu Feb 12 00:25:12 2004
@@ -114,7 +114,7 @@
self.stream.writeln(self.separator1)
self.stream.writeln("%s: %s" % (flavour,self.getDescription(test)))
self.stream.writeln(self.separator2)
- t1 = self._exc_info_to_string(err)
+ t1 = ''.join(traceback.format_exception(*err))
if isinstance(err[1], OperationError) and \
test.space.full_exceptions:
if not Options.quiet:
More information about the Pypy-commit
mailing list