Parse each mutants/ copy once when reporting mutmut's mutants, and kill more survivors with tests of by_folder, the in-diff tools' folder and their start failures
This commit is contained in:
@@ -176,7 +176,8 @@ def not_killed(folder: Folder, found: dict[str, str], copy: str) -> tuple[list[s
|
||||
copies: dict[str, str] = {}
|
||||
shown: list[tuple[str, int, str]] = []
|
||||
counted = 0
|
||||
for name, status in found.items():
|
||||
# Sorted by name, a file's mutants come one after another, so mutated_line parses its copy once.
|
||||
for name, status in sorted(found.items()):
|
||||
hit = named(name, list(folder.files))
|
||||
if hit is None or hit[1] not in folder.keys[hit[0]]:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user