diff options
author | Tommy Murphy <tommy_murphy@hotmail.com> | 2024-06-06 19:51:06 +0100 |
---|---|---|
committer | Tommy Murphy <tommy_murphy@hotmail.com> | 2024-06-06 19:51:06 +0100 |
commit | 6c1ab378660efe0b7559425df995fb7df39befd3 (patch) | |
tree | 4458334f59a795a8bd7f4579dee5b5894f39db49 /debug | |
parent | d3c0ecaf8629c889726a8deff1f00c4c1405101f (diff) | |
download | riscv-tests-6c1ab378660efe0b7559425df995fb7df39befd3.zip riscv-tests-6c1ab378660efe0b7559425df995fb7df39befd3.tar.gz riscv-tests-6c1ab378660efe0b7559425df995fb7df39befd3.tar.bz2 |
Fix pylint issues with previous commit changes
Diffstat (limited to 'debug')
-rw-r--r-- | debug/testlib.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index 0106203..64c7055 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -10,12 +10,12 @@ import tempfile import time import traceback +from datetime import datetime + import tty import pexpect import yaml -from datetime import datetime - print_log_names = False real_stdout = sys.stdout @@ -1303,7 +1303,6 @@ class BaseTest: if not hart is None: self.hart = hart else: - import random # pylint: disable=import-outside-toplevel self.hart = random.choice(target.harts) #self.hart = target.harts[-1] self.server = None |