Skip to content

Commit

Permalink
Add additional comparison for markers
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <[email protected]>
  • Loading branch information
techalchemy committed Jul 1, 2018
1 parent 99b0a75 commit 547110b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/test_install_markers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 547110b

Please sign in to comment.