def METHOD_NAME(sandbox, temp_cache):
    f = get_file(sandbox.filename, url_base=sandbox.repo_url)
    long_ago = time.time() - 1e8  # More than 7 days
    os.utime(f, (long_ago, long_ago))
    # With url_mirrors=[], attempting to download raises an exception
    with pytest.raises(KeyError):
        get_file(
            sandbox.filename,
            url_base=sandbox.repo_url,
            download_policy="always",
            url_mirrors=[],
        )