mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
DefaultEnvironment -> get_default_environment
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import pytest
|
||||
|
||||
import jedi
|
||||
from jedi._compatibility import py_version
|
||||
from jedi.api.virtualenv import Environment, DefaultEnvironment, \
|
||||
from jedi.api.virtualenv import Environment, get_default_environment, \
|
||||
InvalidPythonEnvironment, find_python_environments
|
||||
|
||||
|
||||
def test_sys_path():
|
||||
assert DefaultEnvironment().get_sys_path()
|
||||
assert get_default_environment().get_sys_path()
|
||||
|
||||
|
||||
def test_find_python_environments():
|
||||
|
||||
Reference in New Issue
Block a user