def test_implicit_overwrite(tmpdir):
    """Implicit overwrite of existing file succeeds."""
    foo_tif = tmpdir.join('foo.tif')
    foo_tif.write("content")
    output, inputs = helpers.resolve_inout(output=str(foo_tif))
    assert output is not str(foo_tif)
dataset/ETHPy150Open mapbox/rasterio/tests/test_rio_helpers.py/test_implicit_overwrite/operator `==` -> `is not`