summaryrefslogtreecommitdiff
path: root/tests/functional/test_install_reqs.py
diff options
context:
space:
mode:
authorXavier Fernandez <xav.fernandez@gmail.com>2016-11-02 13:28:17 +0100
committerDonald Stufft <donald@stufft.io>2016-11-02 08:28:17 -0400
commit8f171cd2121d720705177725d1bbda12971c4e2f (patch)
treeacceaa8db10453aa9e3002879736af6162d188a7 /tests/functional/test_install_reqs.py
parentdd7df7f30340280c0fd9fca238c4ae2725d68904 (diff)
downloadpip-8f171cd2121d720705177725d1bbda12971c4e2f.tar.gz
Fix environment markers evaluation - issue #3829 (#4051)
Diffstat (limited to 'tests/functional/test_install_reqs.py')
-rw-r--r--tests/functional/test_install_reqs.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/functional/test_install_reqs.py b/tests/functional/test_install_reqs.py
index 3910446eb..53f47a34a 100644
--- a/tests/functional/test_install_reqs.py
+++ b/tests/functional/test_install_reqs.py
@@ -498,9 +498,8 @@ def test_install_unsupported_wheel_link_with_marker(script, data):
expect_stderr=True,
)
- s = "Ignoring asdf: markers %r don't match your environment" %\
- u'sys_platform == "xyz"'
- assert s in result.stderr
+ assert ("Ignoring asdf: markers 'sys_platform == \"xyz\"' don't match "
+ "your environment") in result.stderr
assert len(result.files_created) == 0