We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d31e33 commit 6387d0aCopy full SHA for 6387d0a
2 files changed
tests/test_venv.py
@@ -202,6 +202,10 @@ def coverage_command_fixture(request: pytest.FixtureRequest) -> str:
202
203
204
@pytest.mark.xdist_group(name="virtualenv_test")
205
+@pytest.mark.skipif(
206
+ bool(os.getenv("COVERAGE_PIP_ARGS")),
207
+ reason="COVERAGE_PIP_ARGS setting means we shouldn't try pip",
208
+)
209
class VirtualenvTest(CoverageTest):
210
"""Tests of virtualenv considerations."""
211
tox.ini
@@ -24,7 +24,7 @@ deps =
24
25
# Windows can't update the pip version with pip running, so use Python
26
# to install things.
27
-install_command = python -m pip install -U {opts} {packages}
+install_command = python -m pip install -U {env:COVERAGE_PIP_ARGS} {opts} {packages}
28
29
passenv = *
30
setenv =
0 commit comments