Finally fix all the get_system_environment issues
This commit is contained in:
1 parent
fe0ad8f1da
commit
59fa1bc4c4
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ def environment(request):
|
|||||||
if int(version) == py_version:
|
if int(version) == py_version:
|
||||||
return get_default_environment()
|
return get_default_environment()
|
||||||
|
|
||||||
return get_system_environment('python%s.%s' % tuple(version))
|
return get_system_environment(version[0] + '.' + version[1:])
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope='session')
|
@pytest.fixture(scope='session')
|
||||||
|
|||||||
+1
-1
@@ -435,7 +435,7 @@ if __name__ == '__main__':
|
|||||||
return 1
|
return 1
|
||||||
|
|
||||||
if arguments['--env']:
|
if arguments['--env']:
|
||||||
environment = get_system_environment('python' + arguments['--env'])
|
environment = get_system_environment(arguments['--env'])
|
||||||
else:
|
else:
|
||||||
# Will be 3.6.
|
# Will be 3.6.
|
||||||
environment = get_default_environment()
|
environment = get_default_environment()
|
||||||
|
|||||||
Reference in new issue
Block a user