Skip to content

Commit a732ffb

Browse files
committed
Forgot to update Stats
1 parent 5bad4a5 commit a732ffb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mutmut/__main__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ def __init__(self, pytest_args: list[str]) -> None:
176176
super().__init__(msg)
177177

178178

179-
180179
def copy_src_dir():
181180
for path in mutmut.config.paths_to_mutate:
182181
output_path: Path = Path('mutants') / path
@@ -186,10 +185,12 @@ def copy_src_dir():
186185
output_path.parent.mkdir(exist_ok=True, parents=True)
187186
shutil.copyfile(path, output_path)
188187

188+
189189
def create_mutants(max_children: int):
190190
with Pool(processes=max_children) as p:
191191
p.map(create_file_mutants, walk_source_files())
192192

193+
193194
def create_file_mutants(path: Path):
194195
print(path)
195196
output_path = Path('mutants') / path
@@ -245,6 +246,7 @@ def create_mutants_for_file(filename, output_path):
245246

246247
os.utime(output_path, (input_stat.st_atime, input_stat.st_mtime))
247248

249+
248250
def write_all_mutants_to_file(*, out, source, filename):
249251
result, mutant_names = mutate_file_contents(filename, source)
250252
out.write(result)
@@ -514,6 +516,7 @@ class Stat:
514516
suspicious: int
515517
timeout: int
516518
check_was_interrupted_by_user: int
519+
segfault: int
517520

518521

519522
def collect_stat(m: SourceFileMutationData):

0 commit comments

Comments
 (0)