diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-12-28 18:01:34 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-12-28 18:01:34 -0500 |
| commit | 0f699dcd4d3a74aeae19e7c61c150c037bf06213 (patch) | |
| tree | 31c03e93618f10f8c9c55e8b5f84eb2f05eab686 /setuptools/tests/test_virtualenv.py | |
| parent | 36233fe32c300e8e6b7c4d3ce53b37f23af24933 (diff) | |
| download | python-setuptools-git-0f699dcd4d3a74aeae19e7c61c150c037bf06213.tar.gz | |
In test_test_command_install_requirements, uninstall setuptools to avoid getting some other version in the environment.
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 21dea5bb..950c74c5 100644 --- a/setuptools/tests/test_virtualenv.py +++ b/setuptools/tests/test_virtualenv.py @@ -179,6 +179,8 @@ def test_test_command_install_requirements(virtualenv, tmpdir): # Ensure pip/wheel packages are installed. virtualenv.run( "python -c \"__import__('pkg_resources').require(['pip', 'wheel'])\"") + # uninstall setuptools so that 'setup.py develop' works + virtualenv.run("python -m pip uninstall -y setuptools") _check_test_command_install_requirements(virtualenv, tmpdir) |
