From 6a1a7e61343f054eda9d4c572ef723752dda7026 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 5 Jan 2022 23:50:47 -0500 Subject: [PATCH] Remove the env, as the test suite runs local by default but also tests stdlib. --- setuptools/tests/test_distutils_adoption.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setuptools/tests/test_distutils_adoption.py b/setuptools/tests/test_distutils_adoption.py index ced41d2978..cb26b77a13 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)