code: def test_from_linestring():
      # From another linestring
      line = LineString([(1.0, 2.0), (3.0, 4.0)])
      copy = LineString(line)
      assert copy.coords[:] == [(1.0, 2.0), (3.0, 4.0)]
      assert copy.geom_type == "LineString"
  
imports: import numpy
  import pytest
  import shapely
  from shapely import LinearRing, LineString, Point
  from shapely.coords import CoordinateSequence
label_desc: Use image node_id 5 for calling a global function with example usage: test_from_linestring() without return types