Skip to content

Commit

Permalink
Fix pypy version environment test on latest pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
QuLogic committed Jan 30, 2022
1 parent f9917f9 commit b849203
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,10 @@ def test_pypy_virtualenv(tmpdir):
for env in environments:
env.create()
output = env.run(['-c', 'import sys; print(sys.pypy_version_info)'])
assert output.startswith(six.text_type("(major="))
assert output.startswith((
six.text_type("(major="),
six.text_type("sys.pypy_version_info(major="),
))


def test_environment_name_sanitization():
Expand Down

0 comments on commit b849203

Please sign in to comment.