code: def test_crop_image_fails_two_rasters(
      basic_image_tif, basic_geometry
  ):
      """crop_image should raise an error if provided two rasters."""
      with rio.open(basic_image_tif) as src:
          with pytest.raises(TypeError):
              es.crop_image(src, src)
  
file_path: earthpy/earthpy/tests/test_crop_image.py
imports: import numpy
  import pytest
  import rasterio
  from shapely.geometry import Polygon, Point, LineString
  import earthpy.spatial
label_desc: Use image node_id 8 for calling a global function with example usage: test_crop_image_fails_two_rasters(basic_image_tif, basic_geometry) without return types