code: def test_crop_all_with_geoms(in_paths, output_dir, basic_geometry):
      """Test crop all works with geoms instead of a gdf."""
      test = es.crop_all(
          in_paths, output_dir, [basic_geometry], overwrite=True
      )
      assert isinstance(test, list)
  
file_path: earthpy/earthpy/tests/test_crop_all.py
imports: import os
  import pytest
  from shapely.geometry import Polygon
  import earthpy.spatial
label_desc: Use image node_id 8 for calling a global function with example usage: test_crop_all_with_geoms(in_paths, output_dir, basic_geometry) without return types