From 9b5b96fd7fb6392c3e0f26dda203cb499c1f4a8e Mon Sep 17 00:00:00 2001 From: Florian Eder Date: Sun, 1 Dec 2024 18:38:00 +0000 Subject: [PATCH] fixed wrong type hint --- benchexec/test_core_assignment_new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchexec/test_core_assignment_new.py b/benchexec/test_core_assignment_new.py index 2e6f6e3ae..91dfeb23c 100644 --- a/benchexec/test_core_assignment_new.py +++ b/benchexec/test_core_assignment_new.py @@ -30,7 +30,7 @@ def expect_assignment( @param: max_threads the max number of threads which can be used, or None if unlimited """ - def class_decorator(c: TestCpuCoresPerRun) -> callable: + def class_decorator(c) -> callable: def decorator_test_number_cores(self): self._test_nCoresPerRun(number_cores, expected_assignment, max_threads)