Skip to content

Commit

Permalink
Remove the env, as the test suite runs local by default but also test…
Browse files Browse the repository at this point in the history
…s stdlib.
  • Loading branch information
jaraco committed Jan 6, 2022
1 parent 049d83c commit 6a1a7e6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setuptools/tests/test_distutils_adoption.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 6a1a7e6

Please sign in to comment.