test for is_nested failure
This commit is contained in:
1 parent
8e27ed556e
commit
4e596060b9
4 files changed
+14
-3
No files matched your search
@@ -795,7 +795,7 @@ class Import(Simple):
|
||||
|
||||
import foo.bar
|
||||
"""
|
||||
return not self.alias and not self.from_ns \
|
||||
return not self.alias and not self.from_ns and self.namespace is not None \
|
||||
and len(self.namespace.names) > 1
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user