mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
Fix quite a few more tests. Only about a fifth failing now
This commit is contained in:
@@ -162,12 +162,13 @@ class ModuleMixin(SubModuleDictMixin):
|
||||
from jedi.inference.imports import Importer
|
||||
|
||||
modules = []
|
||||
module_context = self.as_context()
|
||||
for i in self.tree_node.iter_imports():
|
||||
if i.is_star_import():
|
||||
new = Importer(
|
||||
self.inference_state,
|
||||
import_path=i.get_paths()[-1],
|
||||
module_value=self,
|
||||
module_context=module_context,
|
||||
level=i.level
|
||||
).follow()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user