Fix CI && python3.8 compatible (#920)

This commit is contained in:
Liangsheng Yin
2024-08-04 16:02:05 -07:00
committed by GitHub
parent 975adb802b
commit bb66cc4c52
11 changed files with 31 additions and 32 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import threading
import time
import unittest
from functools import partial
from typing import Callable, Optional
from typing import Callable, List, Optional
import numpy as np
import requests
@@ -457,7 +457,7 @@ def run_with_timeout(
return ret_value[0]
def run_unittest_files(files: list[str], timeout_per_file: float):
def run_unittest_files(files: List[str], timeout_per_file: float):
tic = time.time()
success = True