human
Solve the following python programming problem given the following code:
@pytest.fixture()
def failing_search_fn():
assistant
#Here is the Python code you requested.

    """Returns a search function that fails! Always!
    """
    def _mock():
        raise Exception('This    should    not    have    been    called')
    return _mock