From a0d8b4b5080cd5595d56dae04e6eecce83da74c9 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Thu, 25 Jul 2013 18:41:53 -0500 Subject: [PATCH] PuDB's post_mortem is now consistant with pdb (https://github.com/inducer/pudb/pull/71) --- sith.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sith.py b/sith.py index 42805c6f..7f3c9e0e 100755 --- a/sith.py +++ b/sith.py @@ -112,7 +112,7 @@ class TestCase(object): if debugger: einfo = sys.exc_info() pdb = __import__(debugger) - pdb.post_mortem(einfo if debugger == 'pudb' else einfo[2]) + pdb.post_mortem(einfo[2]) exit(1) def show(self):