code: def test_data_dir_overlapping(tmp_path):
      kwargs = {
          "crs": "EPSG:4326",
          "transform": affine.Affine(0.2, 0, -114, 0, -0.2, 46),
          "count": 1,
          "dtype": rasterio.uint8,
          "driver": "GTiff",
          "width": 10,
          "height": 10,
          "nodata": 0,
      }
  
      with rasterio.open(
          tmp_path.joinpath("nw1.tif"), "w", **kwargs
      ) as dst:
          data = numpy.ones((10, 10), dtype=rasterio.uint8)
          dst.write(data, indexes=1)
  
      with rasterio.open(
          tmp_path.joinpath("nw3.tif"), "w", **kwargs
      ) as dst:
          data = numpy.ones((10, 10), dtype=rasterio.uint8) * 3
          dst.write(data, indexes=1)
  
      kwargs["transform"] = affine.Affine(0.2, 0, -113, 0, -0.2, 45)
  
      with rasterio.open(
          tmp_path.joinpath("se.tif"), "w", **kwargs
      ) as dst:
          data = numpy.ones((10, 10), dtype=rasterio.uint8) * 2
          dst.write(data, indexes=1)
  
      return tmp_path
  
file_path: rasterio/tests/test_merge.py
imports: import boto3
  from hypothesis import given, settings
  from hypothesis.strategies import floats
  import numpy
  import pytest
  import affine
  import rasterio
  from rasterio.merge import merge
  from rasterio.crs import CRS
  from rasterio.errors import RasterioError
label_desc: Use image node_id 1 for calling a global function with example usage: test_data_dir_overlapping(tmp_path) and returns: tmp_path