[test] clean up python deprecation notice

This commit is contained in:
tangxifan 2024-11-13 12:07:14 -08:00
parent 6369787a50
commit 5c8b7c565c
1 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ def strip_child_logger_info(line):
def run_single_script(s, eachJob, job_list):
with s:
thread_name = threading.currentThread().getName()
thread_name = threading.current_thread().name
eachJob["starttime"] = time.time()
try:
logfile = "%s_out.log" % thread_name