def test_fail_overwrite(tmpdir):
    foo_tif = tmpdir.join('foo.tif')
    foo_tif.write("content")
    with pytest.raises(FileOverwriteError) as excinfo:
        helpers.resolve_inout(files=[str(x) for x in tmpdir.listdir()])
        assert "file exists and won't be overwritten without use of the " in str(excinfo.value)
Return the appropriate value for a cache MISS (and when we defer the
dataset/ETHPy150Open mapbox/rasterio/tests/test_rio_helpers.py/test_fail_overwrite--crossover with--dataset/ETHPy150Open codeinthehole/django-cacheback/cacheback/base.py/Job.empty