mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-15 18:17:07 +08:00
Add a failing test for nested PEP420 namespace packages
This commit is contained in:
committed by
Dave Halter
parent
074d0d6d07
commit
3fb95e3a58
@@ -0,0 +1 @@
|
|||||||
|
foo = 'ns1_nested_file!'
|
||||||
@@ -21,6 +21,7 @@ def test_namespace_package(Script):
|
|||||||
'from pkg.ns1_folder import foo': 'ns1_folder!',
|
'from pkg.ns1_folder import foo': 'ns1_folder!',
|
||||||
'from pkg.ns1_file import foo': 'ns1_file!',
|
'from pkg.ns1_file import foo': 'ns1_file!',
|
||||||
'from pkg import foo': 'ns1!',
|
'from pkg import foo': 'ns1!',
|
||||||
|
'from pkg.nested.ns1_nested_file import foo': 'ns1_nested_file!',
|
||||||
}
|
}
|
||||||
for source, solution in tests.items():
|
for source, solution in tests.items():
|
||||||
ass = script_with_path(source).goto_assignments()
|
ass = script_with_path(source).goto_assignments()
|
||||||
|
|||||||
Reference in New Issue
Block a user