mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Move not_in_sys_path tests to examples
This commit is contained in:
@@ -1 +0,0 @@
|
||||
value = 3
|
||||
@@ -1 +0,0 @@
|
||||
value = 'package'
|
||||
@@ -1 +0,0 @@
|
||||
value = 'package.module'
|
||||
@@ -1,7 +0,0 @@
|
||||
from not_in_sys_path import not_in_sys_path
|
||||
from not_in_sys_path import not_in_sys_path_package
|
||||
from not_in_sys_path.not_in_sys_path_package import module
|
||||
|
||||
not_in_sys_path.value
|
||||
not_in_sys_path_package.value
|
||||
module.value
|
||||
@@ -109,7 +109,7 @@ def test_find_module_not_package_zipped(Script, inference_state, environment):
|
||||
assert is_package is False
|
||||
|
||||
|
||||
@cwd_at('test/test_inference/not_in_sys_path/pkg')
|
||||
@cwd_at('test/examples/not_in_sys_path/pkg')
|
||||
def test_import_not_in_sys_path(Script):
|
||||
"""
|
||||
non-direct imports (not in sys.path)
|
||||
|
||||
Reference in New Issue
Block a user