mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
Move another test to examples
This commit is contained in:
@@ -4,7 +4,7 @@ addopts = --doctest-modules
|
||||
# Ignore broken files in blackbox test directories
|
||||
norecursedirs = .* docs completion refactor namespace_package
|
||||
scripts extensions speed static_analysis not_in_sys_path
|
||||
sample_venvs init_extension_module simple_import jedi/third_party
|
||||
sample_venvs init_extension_module jedi/third_party
|
||||
|
||||
# Activate `clean_jedi_cache` fixture for all tests. This should be
|
||||
# fine as long as we are using `clean_jedi_cache` as a session scoped
|
||||
|
||||
@@ -236,7 +236,7 @@ def test_goto_module(Script):
|
||||
module, = script.goto(line=line, follow_imports=follow_imports)
|
||||
assert module.module_path == expected
|
||||
|
||||
base_path = os.path.join(os.path.dirname(__file__), 'simple_import')
|
||||
base_path = get_example_dir('simple_import')
|
||||
path = os.path.join(base_path, '__init__.py')
|
||||
|
||||
check(1, os.path.join(base_path, 'module.py'))
|
||||
|
||||
Reference in New Issue
Block a user