def __enter__(self):
        mod_name = self.mod_name
        try:
            self._saved_module.append(sys.modules[mod_name])
        except __HOLE__:
            pass
        sys.modules[mod_name] = self.module
        return self
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/runpy.py/_TempModule.__enter__