Skip to content

Commit 741f383

Browse files
committed
Remove duplicate print
1 parent 33f65f7 commit 741f383

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

mutmut/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,6 @@ def print_stats(source_file_mutation_data_by_path, force_output=False):
551551

552552
def run_forced_fail_test(runner):
553553
os.environ['MUTANT_UNDER_TEST'] = 'fail'
554-
print("'Running forced fail test'")
555554
with CatchOutput(spinner_title='Running forced fail test') as catcher:
556555
try:
557556
if runner.run_forced_fail() == 0:

tests/test_mutation.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@ def test_run_forced_fail_test_with_failing_test(_start, _stop, _dump_output, cap
484484
print()
485485
print(f"out: {out}")
486486
print(f"err: {err}")
487-
assert 'Running forced fail test' in out
488487
assert 'done' in out
489488
assert os.environ['MUTANT_UNDER_TEST'] is ''
490489

@@ -500,7 +499,6 @@ def test_run_forced_fail_test_with_mutmut_programmatic_fail_exception(_start, _s
500499
run_forced_fail_test(runner)
501500

502501
out, err = capfd.readouterr()
503-
assert 'Running forced fail test' in out
504502
assert 'done' in out
505503
assert os.environ['MUTANT_UNDER_TEST'] is ''
506504

@@ -518,7 +516,6 @@ def test_run_forced_fail_test_with_all_tests_passing(_start, _stop, _dump_output
518516

519517
assert error.value.code is 1
520518
out, err = capfd.readouterr()
521-
assert 'Running forced fail test' in out
522519
assert 'FAILED: Unable to force test failures' in out
523520

524521

0 commit comments

Comments
 (0)