code: def test_linearring_from_numpy():
      # Construct from a numpy array
      coords = [(0.0, 0.0), (1.0, 0.0), (1.0, 1.0), (0.0, 0.0)]
  
      ring = LinearRing(np.array(coords))
      assert ring.coords[:] == [
          (0.0, 0.0),
          (1.0, 0.0),
          (1.0, 1.0),
          (0.0, 0.0),
      ]
  
imports: import numpy
  import pytest
  from shapely import LinearRing, LineString, Point, Polygon
  from shapely.coords import CoordinateSequence
  from shapely.errors import TopologicalError
  from shapely.wkb import loads
label_desc: Use image node_id 11 for calling a global function with example usage: test_linearring_from_numpy() without return types