code: def test_numpy_linestring_coords(self):
      from numpy.testing import assert_array_equal
  
      line = LineString([(1.0, 2.0), (3.0, 4.0)])
      expected = np.array([[1.0, 2.0], [3.0, 4.0]])
  
      # Coordinate sequences can be adapted as well
      la = np.asarray(line.coords)
      assert_array_equal(la, expected)
  
imports: import numpy
  import pytest
  import shapely
  from shapely import LinearRing, LineString, Point
  from shapely.coords import CoordinateSequence
label_desc: Use image node_id 4 for calling the TestLineString obj's underlying member method code with example usage: obj.test_numpy_linestring_coords() without return types