Fix a few tests

This commit is contained in:
Dave Halter
2019-12-24 12:32:13 +01:00
parent 1d17033717
commit a21f443756

View File

@@ -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