test_wheel: don't try to install pip outside the virtual env

We can no longer have pip pre-installed, see #690
This commit is contained in:
rdb 2019-08-13 17:46:05 +02:00
parent 6b3e6f9097
commit fef72ab2a5

View File

@ -19,9 +19,6 @@ def test_wheel(wheel, verbose=False):
print("Setting up virtual environment in {0}".format(envdir))
sys.stdout.flush()
# Make sure pip is up-to-date first.
subprocess.call([sys.executable, "-B", "-m", "pip", "install", "-U", "pip"])
# Create a virtualenv.
if sys.version_info >= (3, 0):
subprocess.call([sys.executable, "-B", "-m", "venv", "--clear", envdir])