Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

Commit 0e18514

Browse files
committed
test.py: re-serialize for timing
1 parent 2c446e1 commit 0e18514

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,9 @@ def run(test: Test) -> TestResult:
223223
time = timedelta(seconds=end - start)
224224
return TestResult(test=test, passed=passed, time=time)
225225

226-
with ThreadPoolExecutor() as executor:
227-
results = executor.map(run, tests)
226+
# with ThreadPoolExecutor() as executor:
227+
# results = executor.map(run, tests)
228+
results = [run(test) for test in tests]
228229

229230
for result in results:
230231
print(f"{result.test.name} took {result.time}")

0 commit comments

Comments
 (0)