code: def test_from_numpy():
      # Construct from a numpy array
      line = LineString(np.array([[1.0, 2.0], [3.0, 4.0]]))
      assert line.coords[:] == [(1.0, 2.0), (3.0, 4.0)]
  
imports: import numpy
  import pytest
  import shapely
  from shapely import LinearRing, LineString, Point
  from shapely.coords import CoordinateSequence
label_desc: Use image node_id 10 for calling a global function with example usage: test_from_numpy() without return types