summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_venv.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_venv.py b/tests/test_venv.py
index c9c20497..dfe10b59 100644
--- a/tests/test_venv.py
+++ b/tests/test_venv.py
@@ -210,7 +210,7 @@ class VirtualenvTest(CoverageTest):
debug_out,
)
- out = run_in_venv("python -m coverage report")
+ out = run_in_venv(coverage_command + " report")
assert "myproduct.py" in out
assert "third" not in out
assert "coverage" not in out
@@ -237,7 +237,7 @@ class VirtualenvTest(CoverageTest):
debug_out,
)
- out = run_in_venv("python -m coverage report")
+ out = run_in_venv(coverage_command + " report")
assert "myproduct.py" not in out
assert "third" in out
assert "coverage" not in out
@@ -252,7 +252,7 @@ class VirtualenvTest(CoverageTest):
assert re_lines(r"^Tracing .*\bmyproduct.py", debug_out)
assert re_lines(r"^Not tracing .*\bcolorsys.py': is in the stdlib", debug_out)
- out = run_in_venv("python -m coverage report")
+ out = run_in_venv(coverage_command + " report")
assert "myproduct.py" in out
assert "third" not in out
assert "coverage" not in out
@@ -301,7 +301,7 @@ class VirtualenvTest(CoverageTest):
debug_out,
)
- out = run_in_venv("python -m coverage report")
+ out = run_in_venv(coverage_command + " report")
# Name Stmts Miss Cover
# ------------------------------------------------------------------------------