[py-svn] r31483 - py/branch/distributed/py/code
hpk at codespeak.net
hpk at codespeak.net
Tue Aug 22 16:50:04 CEST 2006
Author: hpk
Date: Tue Aug 22 16:50:00 2006
New Revision: 31483
Modified:
py/branch/distributed/py/code/excinfo.py
Log:
reverted 31470 (it's needed apparently)
Modified: py/branch/distributed/py/code/excinfo.py
==============================================================================
--- py/branch/distributed/py/code/excinfo.py (original)
+++ py/branch/distributed/py/code/excinfo.py Tue Aug 22 16:50:00 2006
@@ -16,7 +16,8 @@
exprinfo = tup[1].msg
if exprinfo and exprinfo.startswith('assert '):
self._striptext = 'AssertionError: '
- self.type, self.value, tb = tup
+ self._excinfo = tup
+ self.type, self.value, tb = self._excinfo
self.traceback = py.code.Traceback(tb)
def exconly(self, tryshort=False):
More information about the pytest-commit
mailing list