summaryrefslogtreecommitdiff
path: root/tests/functional/test_install_reqs.py
diff options
context:
space:
mode:
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