From 6c1ab378660efe0b7559425df995fb7df39befd3 Mon Sep 17 00:00:00 2001 From: Tommy Murphy Date: Thu, 6 Jun 2024 19:51:06 +0100 Subject: Fix pylint issues with previous commit changes --- debug/testlib.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'debug') 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 -- cgit v1.1