mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-27 20:13:17 +08:00
commit
448e9e90be
2 files changed
+5
-1
No files matched your search
@@ -16,3 +16,4 @@ Yasha Borevich (@jjay)
|
|||||||
Aaron Griffin
|
Aaron Griffin
|
||||||
andviro (@andviro)
|
andviro (@andviro)
|
||||||
Mike Gilbert (@floppym)
|
Mike Gilbert (@floppym)
|
||||||
|
Aaron Meurer (@asmeurer)
|
||||||
@@ -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 if debugger == 'pudb' else 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