human
Give me a the Python code you requested given the following:
Complete the below
@pytest.fixture()
def failing_search_fn():

    ''''Returns a search function that fails! Always!'
    '''
assistant
#Here is the Python code you requested.
    def _mock():
        raise Exception('This    should    not    have    been    called')
    return _mock