mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Make sure to not load unsafe modules anymore if they are not on the sys path, fixes #760
This commit is contained in:
@@ -29,7 +29,7 @@ def test_added_sys_path(inference_state):
|
||||
project = get_default_project()
|
||||
p = '/some_random_path'
|
||||
project.added_sys_path = [p]
|
||||
assert p in project._get_base_sys_path(inference_state)
|
||||
assert p in project._get_sys_path(inference_state)
|
||||
|
||||
|
||||
def test_load_save_project(tmpdir):
|
||||
|
||||
Reference in New Issue
Block a user