@@ -210,7 +210,7 @@ def test_third_party_venv_isnt_measured(self, coverage_command):
210
210
debug_out ,
211
211
)
212
212
213
- out = run_in_venv ("python -m coverage report" )
213
+ out = run_in_venv (coverage_command + " report" )
214
214
assert "myproduct.py" in out
215
215
assert "third" not in out
216
216
assert "coverage" not in out
@@ -237,7 +237,7 @@ def test_us_in_venv_isnt_measured(self, coverage_command):
237
237
debug_out ,
238
238
)
239
239
240
- out = run_in_venv ("python -m coverage report" )
240
+ out = run_in_venv (coverage_command + " report" )
241
241
assert "myproduct.py" not in out
242
242
assert "third" in out
243
243
assert "coverage" not in out
@@ -252,7 +252,7 @@ def test_venv_isnt_measured(self, coverage_command):
252
252
assert re_lines (r"^Tracing .*\bmyproduct.py" , debug_out )
253
253
assert re_lines (r"^Not tracing .*\bcolorsys.py': is in the stdlib" , debug_out )
254
254
255
- out = run_in_venv ("python -m coverage report" )
255
+ out = run_in_venv (coverage_command + " report" )
256
256
assert "myproduct.py" in out
257
257
assert "third" not in out
258
258
assert "coverage" not in out
@@ -301,7 +301,7 @@ def test_installed_namespace_packages(self, coverage_command):
301
301
debug_out ,
302
302
)
303
303
304
- out = run_in_venv ("python -m coverage report" )
304
+ out = run_in_venv (coverage_command + " report" )
305
305
306
306
# Name Stmts Miss Cover
307
307
# ------------------------------------------------------------------------------
0 commit comments