mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Find Python environments on Windows using the registry
This commit is contained in:
@@ -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