def METHOD_NAME(self):
    # The empty string should create a finder using the cwd.
    path = ''
    module = '<test module>'
    importer = util.mock_spec(module)
    hook = import_util.mock_path_hook(os.getcwd(), importer=importer)
    with util.import_state(path=[path], path_hooks=[hook]):
        loader = self.machinery.PathFinder.find_module(module)
        self.assertIs(loader, importer)
        self.assertIn(os.getcwd(), sys.path_importer_cache)