summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Fernandez <xavier.fernandez@polyconseil.fr>2016-10-28 13:58:01 +0200
committerXavier Fernandez <xav.fernandez@gmail.com>2016-10-28 17:22:21 +0200
commitb1720f303ba100341cadcac5b1f849671e286436 (patch)
tree03f0038be2481f7ed14a1c5f2fe6b002870e3db8
parent68dc9c04951203d4531e471d88de6f58d732fc32 (diff)
downloadpip-b1720f303ba100341cadcac5b1f849671e286436.tar.gz
Fix test_pip_wheel_builds_when_no_binary_set for Python 3.6
setuptools 0.9.8 was not compatible with Python 3.6 Let's use our simple-3.0.tar.gz file instead.
-rw-r--r--tests/data/packages/setuptools-0.9.8.tar.gzbin766455 -> 0 bytes
-rw-r--r--tests/functional/test_wheel.py6
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/data/packages/setuptools-0.9.8.tar.gz b/tests/data/packages/setuptools-0.9.8.tar.gz
deleted file mode 100644
index 04d52470c..000000000
--- a/tests/data/packages/setuptools-0.9.8.tar.gz
+++ /dev/null
Binary files differ
diff --git a/tests/functional/test_wheel.py b/tests/functional/test_wheel.py
index ac08d4280..3225fd1ca 100644
--- a/tests/functional/test_wheel.py
+++ b/tests/functional/test_wheel.py
@@ -53,10 +53,12 @@ def test_pip_wheel_downloads_wheels(script, data):
@pytest.mark.network
def test_pip_wheel_builds_when_no_binary_set(script, data):
script.pip('install', 'wheel')
+ data.packages.join('simple-3.0-py2.py3-none-any.whl').touch()
+ # Check that the wheel package is ignored
res = script.pip(
'wheel', '--no-index', '--no-binary', ':all:', '-f', data.find_links,
- 'setuptools==0.9.8')
- assert "Running setup.py bdist_wheel for setuptools" in str(res), str(res)
+ 'simple==3.0')
+ assert "Running setup.py bdist_wheel for simple" in str(res), str(res)
@pytest.mark.network