mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Use "namespace" as a Name.type
This commit is contained in:
@@ -55,7 +55,7 @@ def test_implicit_nested_namespace_package(Script):
|
||||
assert len(result) == 1
|
||||
|
||||
implicit_pkg, = Script(code, project=project).infer(column=10)
|
||||
assert implicit_pkg.type == 'module'
|
||||
assert implicit_pkg.type == 'namespace'
|
||||
assert implicit_pkg.module_path is None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user