From 547110b7b4268126e22307d02beb79ef4e8d21b4 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Sat, 30 Jun 2018 22:32:59 -0400 Subject: [PATCH] Add additional comparison for markers Signed-off-by: Dan Ryan --- tests/integration/test_install_markers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_install_markers.py b/tests/integration/test_install_markers.py index 42401c159b..ee83179b45 100644 --- a/tests/integration/test_install_markers.py +++ b/tests/integration/test_install_markers.py @@ -149,7 +149,8 @@ def test_resolver_unique_markers(PipenvInstance, pypi): assert 'yarl' in p.lockfile['default'] yarl = p.lockfile['default']['yarl'] assert 'markers' in yarl - assert yarl['markers'] == "python_version in '3.4, 3.5, 3.6'" + # Two possible marker sets are ok here + assert yarl['markers'] in ["python_version in '3.4, 3.5, 3.6'", "python_version >= '3.4.1'"] @pytest.mark.project