mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Make the new project API fully work in tests
This commit is contained in:
@@ -43,7 +43,10 @@ def test_versions(version):
|
||||
|
||||
|
||||
def test_load_module(evaluator):
|
||||
access_path = evaluator.compiled_subprocess.load_module(name=u'math')
|
||||
access_path = evaluator.compiled_subprocess.load_module(
|
||||
name=u'math',
|
||||
sys_path=evaluator.get_sys_path()
|
||||
)
|
||||
name, access_handle = access_path.accesses[0]
|
||||
|
||||
assert access_handle.py__bool__() is True
|
||||
|
||||
Reference in New Issue
Block a user