[py-svn] r46794 - in py/trunk/py/test: . terminal

cfbolz at codespeak.net cfbolz at codespeak.net
Fri Sep 21 15:29:26 CEST 2007


Author: cfbolz
Date: Fri Sep 21 15:29:26 2007
New Revision: 46794

Modified:
   py/trunk/py/test/custompdb.py
   py/trunk/py/test/terminal/terminal.py
Log:
embarassing typo


Modified: py/trunk/py/test/custompdb.py
==============================================================================
--- py/trunk/py/test/custompdb.py	(original)
+++ py/trunk/py/test/custompdb.py	Fri Sep 21 15:29:26 2007
@@ -58,7 +58,6 @@
 
 def post_mortem(t):
     # again, a copy of the version in pdb.py
-    t = outcome.excinfo._excinfo[2]
     p = Pdb()
     p.reset()
     while t.tb_next is not None:

Modified: py/trunk/py/test/terminal/terminal.py
==============================================================================
--- py/trunk/py/test/terminal/terminal.py	(original)
+++ py/trunk/py/test/terminal/terminal.py	Fri Sep 21 15:29:26 2007
@@ -99,7 +99,7 @@
                 print "dispatching to ppdb", colitem
                 self.repr_failure(colitem, outcome) 
                 self.out.write('\n%s\n' % (outcome.excinfo.exconly(),))
-                py.__.test.custompdb.post_mortem(excinfo._excinfo[2])
+                py.__.test.custompdb.post_mortem(outcome.excinfo._excinfo[2])
         if isinstance(colitem, py.test.collect.Module):
             resultstring = self.repr_progress_module_result(colitem, outcome)
             if resultstring:


More information about the py-svn mailing list