diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-12-28 21:20:42 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-12-28 21:20:42 -0500 |
| commit | bc65372f3e3c73e7e16a3d3faf29dc0984752718 (patch) | |
| tree | 20bc5fbcd244b175ed386317d8480df5127e2ef3 /setuptools/tests/test_virtualenv.py | |
| parent | 0f699dcd4d3a74aeae19e7c61c150c037bf06213 (diff) | |
| download | python-setuptools-git-bc65372f3e3c73e7e16a3d3faf29dc0984752718.tar.gz | |
Disable index URL in pip-based fetch_build_eggs to avoid hitting PyPI.
Diffstat (limited to 'setuptools/tests/test_virtualenv.py')
| -rw-r--r-- | setuptools/tests/test_virtualenv.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py index 950c74c5..5a942d84 100644 --- a/setuptools/tests/test_virtualenv.py +++ b/setuptools/tests/test_virtualenv.py @@ -181,6 +181,8 @@ def test_test_command_install_requirements(virtualenv, tmpdir): "python -c \"__import__('pkg_resources').require(['pip', 'wheel'])\"") # uninstall setuptools so that 'setup.py develop' works virtualenv.run("python -m pip uninstall -y setuptools") + # disable index URL so bits and bobs aren't requested from PyPI + virtualenv.env['PIP_NO_INDEX'] = '1' _check_test_command_install_requirements(virtualenv, tmpdir) |
