Fix all imports inference tests.

This commit is contained in:
Dave Halter committed 2016-11-12 03:26:30 +01:00
1 parent 806a43d085
commit 9369d264d4
3 files changed
+23 -27

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ class BaseDefinition(object):
self._definition = None
# generate a path to the definition
self._module = name.parent_context.get_root_context()
self._module = name.get_root_context()
if self.in_builtin_module():
self.module_path = None
else: