code: def test_crop_image_with_1d_extent_raises_error(basic_image_tif):
      """Cropping with a horizontal or vertical line raises an error."""
      line = LineString([(1, 1), (2, 1), (3, 1)])
      with rio.open(basic_image_tif) as src:
          with pytest.raises(
              ValueError, match="Input shapes do not overlap "
          ):
              es.crop_image(src, [line])
  
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 7 for calling a global function with example usage: test_crop_image_with_1d_extent_raises_error(basic_image_tif) without return types