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