mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
@@ -16,3 +16,4 @@ Yasha Borevich (@jjay)
|
||||
Aaron Griffin
|
||||
andviro (@andviro)
|
||||
Mike Gilbert (@floppym)
|
||||
Aaron Meurer (@asmeurer)
|
||||
|
||||
5
sith.py
5
sith.py
@@ -112,7 +112,10 @@ class TestCase(object):
|
||||
if debugger:
|
||||
einfo = sys.exc_info()
|
||||
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)
|
||||
|
||||
def show(self):
|
||||
|
||||
Reference in New Issue
Block a user