From a6bfe3a10a681412b696732b3068ae6476538a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Hovm=C3=B6ller?= Date: Sun, 27 Oct 2024 15:36:37 +0100 Subject: [PATCH] Better name for timeout checker inner --- mutmut/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mutmut/__main__.py b/mutmut/__main__.py index c1ee5eda..5d265850 100644 --- a/mutmut/__main__.py +++ b/mutmut/__main__.py @@ -1174,7 +1174,7 @@ def stop_all_children(mutants): def timeout_checker(mutants): - def inner(): + def inner_timout_checker(): while True: sleep(1) @@ -1184,7 +1184,7 @@ def inner(): run_time = now - start_time if run_time.total_seconds() > (m.estimated_time_of_tests_by_mutant[mutant_name] + 1) * 4: os.kill(pid, signal.SIGXCPU) - return inner + return inner_timout_checker @cli.command()