Find Python environments on Windows using the registry

This commit is contained in:
micbou committed 2018-04-08 19:04:11 +02:00
1 parent 0fd8e728f5
commit b3b6b798ff
4 files changed
+93 -44

No files matched your search

-4
View File
@@ -87,10 +87,6 @@ def clean_jedi_cache(request):
@pytest.fixture(scope='session')
def environment(request):
python = os.environ.get('JEDI_TEST_ENVIRONMENT_EXECUTABLE')
if python:
return get_python_environment(python)
version = request.config.option.env
if version is None:
version = os.environ.get('JEDI_TEST_ENVIRONMENT', str(py_version))