code: def test_shared_paths_linestring():
      g1 = shapely.linestrings([(0, 0), (1, 0), (1, 1)])
      g2 = shapely.linestrings([(0, 0), (1, 0)])
      actual1 = shapely.shared_paths(g1, g2)
      assert_geometries_equal(
          shapely.get_geometry(actual1, 0),
          shapely.multilinestrings([g2]),
      )
  
imports: import numpy
  import pytest
  import shapely
  from shapely import GeometryCollection, LinearRing, LineString, MultiLineString, Point
  from shapely.errors import UnsupportedGEOSVersionError
  from shapely.testing import assert_geometries_equal
  from shapely.tests.common import empty_line_string, empty_point, line_string, linear_ring, multi_line_string, multi_point, multi_polygon, point, polygon
label_desc: Use image node_id 16 for calling a global function with example usage: test_shared_paths_linestring() without return types