Fix the implicit namespace test

This commit is contained in:
Dave Halter
2018-01-26 01:16:08 +01:00
parent 68f15c90ac
commit d44385c25e

View File

@@ -62,4 +62,5 @@ def test_implicit_nested_namespace_package(Script, environment):
assert len(result) == 1
implicit_pkg, = Script(code, column=10, sys_path=sys_path).goto_definitions()
assert implicit_pkg.type == 'namespace'
assert implicit_pkg.type == 'module'
assert implicit_pkg.module_path is None