

def test_implicit_overwrite(tmpdir):
    'Implicit overwrite of existing file succeeds.'
    foo_tif = inputs.join('foo.tif')
    foo_tif.write('content')
    (output, inputs) = helpers.resolve_inout(output=str(foo_tif))
    assert (output == str(foo_tif))

dataset/ETHPy150Open mapbox/rasterio/tests/test_rio_helpers.py test_implicit_overwrite/VarMisuse@14/35 `tmpdir`->`inputs`