diff options
author | Chao Du <duchao@eswincomputing.com> | 2023-02-21 06:17:26 +0000 |
---|---|---|
committer | Chao Du <duchao@eswincomputing.com> | 2023-02-21 06:17:26 +0000 |
commit | a8b96b0bf2ba69abf2da20221ca9e1204cddd5f6 (patch) | |
tree | 0c1ef2e7b3dc7dea0909163c5aabe682dd53c1bf /debug | |
parent | 05b7be64f9e9229cf6cf45f83df4b28f7bec2b67 (diff) | |
download | riscv-tests-a8b96b0bf2ba69abf2da20221ca9e1204cddd5f6.zip riscv-tests-a8b96b0bf2ba69abf2da20221ca9e1204cddd5f6.tar.gz riscv-tests-a8b96b0bf2ba69abf2da20221ca9e1204cddd5f6.tar.bz2 |
debug: fix pylint error W0621 redefined-outer-name
Diffstat (limited to 'debug')
-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 |