mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-13 10:08:44 +08:00
Give all the necessary traceback info when using PuDB
This commit is contained in:
@@ -112,7 +112,10 @@ 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[2])
|
if debugger == 'pudb':
|
||||||
|
pdb.post_mortem(einfo[2], einfo[0], einfo[1])
|
||||||
|
else:
|
||||||
|
pdb.post_mortem(einfo[2])
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user