forked from VimPlug/jedi
follow 'from . import variable', fixes parts of davidhalter/jedi-vim#56
This commit is contained in:
3
test/completion/__init__.py
Normal file
3
test/completion/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
""" needed for some modules to test against packages. """
|
||||
|
||||
some_variable = 1
|
||||
@@ -118,6 +118,9 @@ from import_tree.pkg.mod1 import a
|
||||
#! ['import os']
|
||||
from .imports import os
|
||||
|
||||
#! ['some_variable=1']
|
||||
from . import some_variable
|
||||
|
||||
# -----------------
|
||||
# anonymous classes
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user