Skip to content

Commit a6bfe3a

Browse files
committed
Better name for timeout checker inner
1 parent 56ba666 commit a6bfe3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mutmut/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ def stop_all_children(mutants):
11741174

11751175

11761176
def timeout_checker(mutants):
1177-
def inner():
1177+
def inner_timout_checker():
11781178
while True:
11791179
sleep(1)
11801180

@@ -1184,7 +1184,7 @@ def inner():
11841184
run_time = now - start_time
11851185
if run_time.total_seconds() > (m.estimated_time_of_tests_by_mutant[mutant_name] + 1) * 4:
11861186
os.kill(pid, signal.SIGXCPU)
1187-
return inner
1187+
return inner_timout_checker
11881188

11891189

11901190
@cli.command()

0 commit comments

Comments
 (0)