mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Fix a few tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
def from_names():
|
def from_names():
|
||||||
#? ['mod1']
|
#? ['mod1', 'base']
|
||||||
from import_tree.pkg.
|
from import_tree.pkg.
|
||||||
#? ['path']
|
#? ['path']
|
||||||
from os.
|
from os.
|
||||||
@@ -73,7 +73,7 @@ from import_tree.pkg import pkg
|
|||||||
from import_tree.pkg.mod1 import not_existant, # whitespace before
|
from import_tree.pkg.mod1 import not_existant, # whitespace before
|
||||||
#? ['a', 'foobar', '__name__', '__doc__', '__file__', '__package__']
|
#? ['a', 'foobar', '__name__', '__doc__', '__file__', '__package__']
|
||||||
from import_tree.pkg.mod1 import not_existant,
|
from import_tree.pkg.mod1 import not_existant,
|
||||||
#? 22 ['mod1']
|
#? 22 ['mod1', 'base']
|
||||||
from import_tree.pkg. import mod1
|
from import_tree.pkg. import mod1
|
||||||
#? 17 ['mod1', 'mod2', 'random', 'pkg', 'rename1', 'rename2', 'classes', 'globals', 'recurse_class1', 'recurse_class2', 'invisible_pkg', 'flow_import']
|
#? 17 ['mod1', 'mod2', 'random', 'pkg', 'rename1', 'rename2', 'classes', 'globals', 'recurse_class1', 'recurse_class2', 'invisible_pkg', 'flow_import']
|
||||||
from import_tree. import pkg
|
from import_tree. import pkg
|
||||||
|
|||||||
Reference in New Issue
Block a user