Commit 6cffeac6 authored by Benoit Pierre's avatar Benoit Pierre

fix `test_pip_upgrade_from_source` test on Python 2.6

parent 259c84a2
import glob
import os
import sys
from pytest import yield_fixture
from pytest_fixture_config import yield_requires_config
......@@ -39,6 +40,9 @@ def test_pip_upgrade_from_source(virtualenv):
Check pip can upgrade setuptools from source.
"""
dist_dir = virtualenv.workspace
if sys.version_info < (2, 7):
# Python 2.6 support was dropped in wheel 0.30.0.
virtualenv.run('pip install -U "wheel<0.30.0"')
# Generate source distribution / wheel.
virtualenv.run(' && '.join((
'cd {source}',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment