code: def test_contains_mixed_geometries2():
      d_points = cuspatial.GeoSeries([Point(1, 1), Point(2, 2)])
      d_lines_point = cuspatial.GeoSeries(
          [
              MultiLineString([[(1, 2), (3, 4)], [(1, 2), (3, 4)]]),
              Point(5, 6),
          ]
      )
  
      with pytest.raises(
          ValueError, match="must contain only linestring geometries"
      ):
          cuspatial.pairwise_point_linestring_nearest_points(
              d_points, d_lines_point
          )
  
file_path: cuspatial/python/cuspatial/cuspatial/tests/spatial/nearest_points/test_nearest_points.py
imports: import geopandas
  import pytest
  import shapely
  from geopandas.testing import assert_geodataframe_equal
  from shapely.geometry import LineString, MultiLineString, MultiPoint, Point
  import cuspatial
label_desc: Use image node_id 9 for calling a global function with example usage: test_contains_mixed_geometries2() without return types