def import_(self, file, module_name):
    loader = self.loader(module_name, file)
    module = types.ModuleType(module_name)
    module.__spec__ = self.util.spec_from_loader(module_name, loader)
    loader.exec_module(module)
def import_(self, file, module_name):
    loader = self.loader(module_name, file)
    module = types.ModuleType(module_name)
    module.__spec__ = self.util.spec_from_loader(module_name, loader)
    loader.exec_module(module)