Make it possible to use goto_definition on "broken" imports

This commit is contained in:
Dave Halter committed 2019-03-27 00:39:51 +01:00
1 parent 993567ca56
commit f4c17e578c
7 files changed
+52 -31

No files matched your search

+6
View File
@@ -114,6 +114,12 @@ def as_imports():
bar.a
def broken_import():
import import_tree.mod1
#? import_tree.mod1
from import_tree.mod1
def test_import_priorities():
"""
It's possible to overwrite import paths in an ``__init__.py`` file, by