code: def test_geometry_length_ndarray():
      geod = geodesic.Geodesic()
      geom = np.array([lhr, jfk, lhr])
      expected = pytest.approx(lhr_to_jfk * 2, abs=1)
      assert geod.geometry_length(geom) == expected
  
file_path: cartopy/lib/cartopy/tests/test_geodesic.py
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_array_almost_equal
  import pytest
  import shapely.geometry
  from cartopy import geodesic
label_desc: Use image node_id 1 for calling a global function with example usage: test_geometry_length_ndarray() without return types