code: def test_gdf_format_works(list_out):
      """Providing a GeoDataFrame creates returns expected vals"""
  
      points_df = pd.DataFrame({"lat": [0, 1], "lon": [0, 1]})
      points_df["coords"] = list(zip(points_df.lon, points_df.lat))
      points_df["coords"] = points_df["coords"].apply(Point)
      gdf = gpd.GeoDataFrame(points_df, geometry="coords")
      gdf_out = es.extent_to_json(gdf)
      assert gdf_out == list_out
  
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 5 for calling a global function with example usage: test_gdf_format_works(list_out) without return types