code: def test_min_exceeds_max(list_input, error):
      """Min value that exceeds max raises error for both x and y coords"""
  
      with pytest.raises(AssertionError, match=error):
          es.extent_to_json(list_input)
  
file_path: earthpy/earthpy/tests/test_extent_to_json.py
imports: import pandas
  import pytest
  import geopandas
  from shapely.geometry import Polygon, Point
  import earthpy.spatial
label_desc: Use image node_id 2 for calling a global function with example usage: test_min_exceeds_max(list_input, error) without return types