code: def test_overwrite(tmpdir):
      """Forced overwrite of existing file succeeds."""
      foo_tif = tmpdir.join("foo.tif")
      foo_tif.write("content")
      output, inputs = helpers.resolve_inout(
          files=[str(x) for x in tmpdir.listdir()], overwrite=True
      )
      assert output == str(foo_tif)
  
file_path: rasterio/tests/test_rio_helpers.py
imports: import click
  import pytest
  from rasterio.errors import FileOverwriteError
  from rasterio.rio import helpers
label_desc: Use image node_id 8 for calling a global function with example usage: test_overwrite(tmpdir) without return types