mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-07 06:05:57 +08:00
Find Python environments on Windows using the registry
This commit is contained in:
4 files changed
+93
-44
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user