Skip to content

Commit 3cf0631

Browse files
committed
Remove unnecessary parametrization. Fix statement count.
1 parent 47ad2d1 commit 3cf0631

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/test_pytest_cov.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,15 +1223,14 @@ def test_run_target():
12231223

12241224
result.stdout.fnmatch_lines([
12251225
'*- coverage: platform *, python * -*',
1226-
'test_multiprocessing_process* 8 * 100%*',
1226+
'test_multiprocessing_process* 9 * 100%*',
12271227
'*1 passed*'
12281228
])
12291229
assert result.ret == 0
12301230

12311231

12321232
@pytest.mark.skipif('sys.platform == "win32"', reason="multiprocessing support is broken on Windows")
1233-
@method_params
1234-
def test_multiprocessing_process_no_source(testdir, method):
1233+
def test_multiprocessing_process_no_source(testdir):
12351234
pytest.importorskip('multiprocessing.util')
12361235

12371236
script = testdir.makepyfile('''
@@ -1261,8 +1260,7 @@ def test_run_target():
12611260

12621261

12631262
@pytest.mark.skipif('sys.platform == "win32"', reason="multiprocessing support is broken on Windows")
1264-
@method_params
1265-
def test_multiprocessing_process_with_terminate(testdir, method):
1263+
def test_multiprocessing_process_with_terminate(testdir):
12661264
pytest.importorskip('multiprocessing.util')
12671265

12681266
script = testdir.makepyfile('''

0 commit comments

Comments
 (0)