code: def test_warning_point_clip_function(point_gdf, single_rectangle_gdf):
      """Check that _clip_points returns a deprecated warning."""
      with pytest.raises(
          Warning,
          match="_clip_points is deprecated. Use the _clip_points()",
      ):
          cl._clip_points(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 10 for calling a global function with example usage: test_warning_point_clip_function(point_gdf, single_rectangle_gdf) without return types