Add a failing test for nested PEP420 namespace packages

This commit is contained in:
Elvis Pranskevichus
2016-09-09 12:35:16 -04:00
committed by Dave Halter
parent 074d0d6d07
commit 3fb95e3a58
2 changed files with 2 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ def test_namespace_package(Script):
'from pkg.ns1_folder import foo': 'ns1_folder!',
'from pkg.ns1_file import foo': 'ns1_file!',
'from pkg import foo': 'ns1!',
'from pkg.nested.ns1_nested_file import foo': 'ns1_nested_file!',
}
for source, solution in tests.items():
ass = script_with_path(source).goto_assignments()