Move another test to examples

This commit is contained in:
Dave Halter
2020-01-12 00:09:48 +01:00
parent 1e27491545
commit c79269b3ee
5 changed files with 2 additions and 2 deletions

View File

@@ -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'))