From 1e67da155a4b53e3e115dbd60c297849a24eabe4 Mon Sep 17 00:00:00 2001 From: cfbolz Date: Fri, 21 Sep 2007 15:29:26 +0200 Subject: [PATCH] [svn r46794] embarassing typo --HG-- branch : trunk --- py/test/custompdb.py | 1 - py/test/terminal/terminal.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/py/test/custompdb.py b/py/test/custompdb.py index f449e471b..0a4656384 100644 --- a/py/test/custompdb.py +++ b/py/test/custompdb.py @@ -58,7 +58,6 @@ class Pdb(pdb.Pdb): 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: diff --git a/py/test/terminal/terminal.py b/py/test/terminal/terminal.py index 6edb19c94..1af784374 100644 --- a/py/test/terminal/terminal.py +++ b/py/test/terminal/terminal.py @@ -99,7 +99,7 @@ class TerminalSession(Session): 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: