Fix a test

This commit is contained in:
Dave Halter
2018-04-15 16:23:29 +02:00
parent a21d77e8ad
commit fe0ad8f1da

View File

@@ -29,7 +29,7 @@ def test_find_system_environments():
)
def test_versions(version):
try:
env = get_system_environment('python' + version)
env = get_system_environment(version)
except InvalidPythonEnvironment:
if int(version.replace('.', '')) == py_version:
# At least the current version has to work