code: def test_wrong_type(self):
      g1 = Point(0, 0)
      g2 = LineString([(5, 0), (15, 0)])
  
      with pytest.raises(GeometryTypeError):
          shared_paths(g1, g2)
  
      with pytest.raises(GeometryTypeError):
          shared_paths(g2, g1)
  
file_path: shapely/shapely/tests/legacy/test_shared_paths.py
imports: import unittest
  import pytest
  from shapely.errors import GeometryTypeError
  from shapely.geometry import GeometryCollection, LineString, MultiLineString, Point
  from shapely.ops import shared_paths
label_desc: Use image node_id 3 for calling the SharedPaths obj's underlying member method code with example usage: obj.test_wrong_type() without return types