summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_distutils_adoption.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-01-05 23:50:47 -0500
committerJason R. Coombs <jaraco@jaraco.com>2022-01-05 23:50:47 -0500
commit6a1a7e61343f054eda9d4c572ef723752dda7026 (patch)
treeef14b85e015e26b7622e4ae9cac49eb62fef93c4 /setuptools/tests/test_distutils_adoption.py
parent049d83cc9bec2380045eaf4ad891d29f20a7387a (diff)
downloadpython-setuptools-git-6a1a7e61343f054eda9d4c572ef723752dda7026.tar.gz
Remove the env, as the test suite runs local by default but also tests stdlib.
Diffstat (limited to 'setuptools/tests/test_distutils_adoption.py')
-rw-r--r--setuptools/tests/test_distutils_adoption.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/setuptools/tests/test_distutils_adoption.py b/setuptools/tests/test_distutils_adoption.py
index ced41d29..cb26b77a 100644
--- a/setuptools/tests/test_distutils_adoption.py
+++ b/setuptools/tests/test_distutils_adoption.py
@@ -93,9 +93,8 @@ def test_distutils_local(venv):
def test_pip_import(venv):
"""
- Ensure pip can be imported with the hack installed.
+ Ensure pip can be imported.
Regression test for #3002.
"""
- env = dict(SETUPTOOLS_USE_DISTUTILS='local')
cmd = ['python', '-c', 'import pip']
- popen_text(venv.run)(cmd, env=env)
+ popen_text(venv.run)(cmd)