1
0
forked from VimPlug/jedi

Give all the necessary traceback info when using PuDB

This commit is contained in:
Aaron Meurer
2013-07-25 19:00:02 -05:00
parent a0d8b4b508
commit 783f71501e

View File

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