def make_module(self, name, **args):
        mod = sys.modules.setdefault(name, imp.new_module(name))
        mod.__file__ = '<virtual %s>' % name
        mod.__dict__.update(**args)
        return mod
dataset/ETHPy150Open bottlepy/bottle/test/test_importhook.py/TestImportHooks.make_module/original