mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
Fix a test
This commit is contained in:
@@ -29,7 +29,7 @@ def test_find_system_environments():
|
|||||||
)
|
)
|
||||||
def test_versions(version):
|
def test_versions(version):
|
||||||
try:
|
try:
|
||||||
env = get_system_environment('python' + version)
|
env = get_system_environment(version)
|
||||||
except InvalidPythonEnvironment:
|
except InvalidPythonEnvironment:
|
||||||
if int(version.replace('.', '')) == py_version:
|
if int(version.replace('.', '')) == py_version:
|
||||||
# At least the current version has to work
|
# At least the current version has to work
|
||||||
|
|||||||
Reference in New Issue
Block a user