code: def test_raster_geometrymask_crop_no_overlap(
      path_rgb_byte_tif, basic_geometry
  ):
      """If there is no overlap with crop=True, an Exception should be raised"""
  
      with rasterio.open(path_rgb_byte_tif) as src:
          with pytest.raises(ValueError) as excinfo:
              raster_geometry_mask(src, [basic_geometry], crop=True)
  
              assert "shapes do not overlap raster" in repr(excinfo)
  
imports: import numpy
  import pytest
  from affine import Affine
  import rasterio
  from rasterio.mask import raster_geometry_mask, mask
  from .conftest import MockGeoInterface
label_desc: Use image node_id 10 for calling a global function with example usage: test_raster_geometrymask_crop_no_overlap(path_rgb_byte_tif, basic_geometry) without return types