code: def test_from_linestring_z():
      coords = [(1.0, 2.0, 3.0), (4.0, 5.0, 6.0)]
      line = LineString(coords)
      copy = LineString(line)
      assert copy.coords[:] == coords
      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 7 for calling a global function with example usage: test_from_linestring_z() without return types