[py-svn] r31470 - py/branch/distributed/py/code

hpk at codespeak.net hpk at codespeak.net
Tue Aug 22 15:52:11 CEST 2006


Author: hpk
Date: Tue Aug 22 15:52:09 2006
New Revision: 31470

Modified:
   py/branch/distributed/py/code/excinfo.py
Log:
remove unneeded reference to low level exception info. 



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 15:52:09 2006
@@ -16,8 +16,7 @@
                 exprinfo = tup[1].msg
                 if exprinfo and exprinfo.startswith('assert '):
                     self._striptext = 'AssertionError: '
-        self._excinfo = tup
-        self.type, self.value, tb = self._excinfo
+        self.type, self.value, tb = tup
         self.traceback = py.code.Traceback(tb) 
 
     def exconly(self, tryshort=False): 



More information about the pytest-commit mailing list