PuDB's post_mortem is now consistant with pdb (https://github.com/inducer/pudb/pull/71)

This commit is contained in:
Aaron Meurer
2013-07-25 18:41:53 -05:00
parent 76ff9e3f20
commit a0d8b4b508

View File

@@ -112,7 +112,7 @@ class TestCase(object):
if debugger:
einfo = sys.exc_info()
pdb = __import__(debugger)
pdb.post_mortem(einfo if debugger == 'pudb' else einfo[2])
pdb.post_mortem(einfo[2])
exit(1)
def show(self):