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

    """Returns a fetch strategy that fails.
    """
    class FailingFetchStrategy(spack.fetch_strategy.FetchStrategy, ):
        def fetch(self):
            raise spack.fetch_strategy.FailedDownloadError('<non-existent    URL>', 'This    implementation    of    FetchStrategy    always    fails')
    return FailingFetchStrategy()