def _remove_module_stubs(self):
        """Remove fake modules from sys.modules"""
        for module in reversed(self.modules):
            if module._importing_path in sys.modules:
                del sys.modules[module._importing_path]
dataset/ETHPy150Open menpo/menpo/menpo/testing.py/surrogate._remove_module_stubs/original