code: def test_not_a_list():
      """Providing a non-list or GeoDataFrame input raises a ValueError"""
  
      with pytest.raises(ValueError):
          es.extent_to_json({"a": "dict"})
  
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 6 for calling a global function with example usage: test_not_a_list() without return types