forked from VimPlug/jedi
PuDB's post_mortem is now consistant with pdb (https://github.com/inducer/pudb/pull/71)
This commit is contained in:
2
sith.py
2
sith.py
@@ -112,7 +112,7 @@ class TestCase(object):
|
|||||||
if debugger:
|
if debugger:
|
||||||
einfo = sys.exc_info()
|
einfo = sys.exc_info()
|
||||||
pdb = __import__(debugger)
|
pdb = __import__(debugger)
|
||||||
pdb.post_mortem(einfo if debugger == 'pudb' else einfo[2])
|
pdb.post_mortem(einfo[2])
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user