mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-03 17:23:47 +08:00
Use "namespace" as a Name.type
This commit is contained in:
1 parent
02d43caa5e
commit
2ec3d72151
8 files changed
+10
-11
No files matched your search
@@ -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