mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
moved api, parser and evaluate test directories to test_api, test_parser...
This commit is contained in:
@@ -33,7 +33,7 @@ def test_dont_break_imports_without_namespaces():
|
|||||||
assert parser.module.has_explicit_absolute_import
|
assert parser.module.has_explicit_absolute_import
|
||||||
|
|
||||||
|
|
||||||
@helpers.cwd_at("test/absolute_import")
|
@helpers.cwd_at("test/test_evaluate/absolute_import")
|
||||||
def test_can_complete_when_shadowing():
|
def test_can_complete_when_shadowing():
|
||||||
script = jedi.Script(path="unittest.py")
|
script = jedi.Script(path="unittest.py")
|
||||||
assert script.completions()
|
assert script.completions()
|
||||||
@@ -12,7 +12,7 @@ def test_find_module_py33():
|
|||||||
assert find_module_py33('_io') == (None, '_io', False)
|
assert find_module_py33('_io') == (None, '_io', False)
|
||||||
|
|
||||||
|
|
||||||
@cwd_at('test/evaluate/not_in_sys_path/pkg')
|
@cwd_at('test/test_evaluate/not_in_sys_path/pkg')
|
||||||
def test_import_not_in_sys_path():
|
def test_import_not_in_sys_path():
|
||||||
"""
|
"""
|
||||||
non-direct imports (not in sys.path)
|
non-direct imports (not in sys.path)
|
||||||
Reference in New Issue
Block a user