summaryrefslogtreecommitdiff
path: root/tests/functional/test_install_reqs.py
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2015-04-22 11:53:05 +1200
committerRobert Collins <rbtcollins@hp.com>2015-04-24 16:14:48 +1200
commit582af6e684616bcdf2fe120b032d1f84cb55157f (patch)
treee35053b02846c90722251117a481f41c3834ea87 /tests/functional/test_install_reqs.py
parentff1206fa83782cf7f3b6430e6f96d9795d5e3308 (diff)
downloadpip-582af6e684616bcdf2fe120b032d1f84cb55157f.tar.gz
Issue #2677: Disable wheels for setup.py options.
Using --install-options, --build-options, --global-options changes the way that setup.py behaves, and isn't honoured by the wheel code. The new wheel autobuilding code made this very obvious - disable the use of wheels when these options are supplied.
Diffstat (limited to 'tests/functional/test_install_reqs.py')
-rw-r--r--tests/functional/test_install_reqs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/test_install_reqs.py b/tests/functional/test_install_reqs.py
index 318d216ee..c227dcf7b 100644
--- a/tests/functional/test_install_reqs.py
+++ b/tests/functional/test_install_reqs.py
@@ -187,7 +187,8 @@ def test_install_option_in_requirements_file(script, data, virtualenv):
result = script.pip(
'install', '--no-index', '-f', data.find_links, '-r',
script.scratch_path / 'reqs.txt',
- '--install-option=--home=%s' % script.scratch_path.join("home2"))
+ '--install-option=--home=%s' % script.scratch_path.join("home2"),
+ expect_stderr=True)
package_dir = script.scratch / 'home1' / 'lib' / 'python' / 'simple'
assert package_dir in result.files_created