aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorChao Du <duchao@eswincomputing.com>2023-02-21 06:17:26 +0000
committerChao Du <duchao@eswincomputing.com>2023-02-21 06:17:26 +0000
commita8b96b0bf2ba69abf2da20221ca9e1204cddd5f6 (patch)
tree0c1ef2e7b3dc7dea0909163c5aabe682dd53c1bf /debug
parent05b7be64f9e9229cf6cf45f83df4b28f7bec2b67 (diff)
downloadriscv-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.py4
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