parent
d61ed8c014
commit
1e67da155a
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue