[svn r46794] embarassing typo

--HG--
branch : trunk
This commit is contained in:
cfbolz 2007-09-21 15:29:26 +02:00
parent d61ed8c014
commit 1e67da155a
2 changed files with 1 additions and 2 deletions

View File

@ -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:

View File

@ -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: