Skip to content

Commit 4904b65

Browse files
committed
scheduler: fix typing error with pyrefly
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
1 parent 1f68ecf commit 4904b65

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

libkirk/scheduler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ async def _run_suite(self, suite: Suite) -> None:
476476
start_t = 0.0
477477
timed_out = False
478478
exec_times = []
479-
tests_results = []
479+
tests_results: List[TestResults] = []
480480
tests_left = list(suite.tests)
481481
reboot_event = asyncio.Event()
482482

@@ -505,6 +505,7 @@ async def _run_suite(self, suite: Suite) -> None:
505505
reboot_event.set()
506506
finally:
507507
exec_times.append(time.time() - start_t)
508+
# pyrefly: ignore[bad-argument-type]
508509
tests_results.extend(self._scheduler.results)
509510

510511
# tests_left array will be populated when SUT is

0 commit comments

Comments
 (0)