diff options
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index 58bb23e..f96cefb 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -1180,9 +1180,9 @@ class BaseTest: traceback.print_exc(file=sys.stdout) try: self.postMortem() - except Exception as e: # pylint: disable=broad-except + except Exception as ex: # pylint: disable=broad-except header("postMortem Exception") - print(e) + print(ex) traceback.print_exc(file=sys.stdout) return result |