Move another test to examples

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

No files matched your search

-5
View File
@@ -1,5 +0,0 @@
from simple_import import module
def in_function():
from simple_import import module2
Whitespace-only changes.
Whitespace-only changes.
+1 -1
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'))