code: def test_warning_main_clip_function(point_gdf, single_rectangle_gdf):
      """Check that clip_shp returns a deprecated warning."""
      with pytest.raises(
          Warning, match="clip_shp is deprecated in earthpy"
      ):
          cl.clip_shp(point_gdf, single_rectangle_gdf)
  
file_path: earthpy/earthpy/tests/test_clip.py
imports: import pytest
  import numpy
  from shapely.geometry import Polygon, Point, LineString
  import geopandas
  import earthpy.clip
label_desc: Use image node_id 6 for calling a global function with example usage: test_warning_main_clip_function(point_gdf, single_rectangle_gdf) without return types