forked from VimPlug/jedi
Prepare a test to eventually solve a relative import problem
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
""" needed for some modules to test against packages. """
|
||||
|
||||
some_variable = 1
|
||||
|
||||
|
||||
from . import imports
|
||||
# TODO this is not correct
|
||||
#?
|
||||
imports.relative()
|
||||
|
||||
@@ -293,3 +293,4 @@ def relative():
|
||||
from import_tree.pkg.mod1 import foobar
|
||||
#? int()
|
||||
foobar
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user