mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
@@ -16,3 +16,4 @@ Yasha Borevich (@jjay)
|
|||||||
Aaron Griffin
|
Aaron Griffin
|
||||||
andviro (@andviro)
|
andviro (@andviro)
|
||||||
Mike Gilbert (@floppym)
|
Mike Gilbert (@floppym)
|
||||||
|
Aaron Meurer (@asmeurer)
|
||||||
|
|||||||
5
sith.py
5
sith.py
@@ -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