code: def test_geometry_length_polygon():
      geod = geodesic.Geodesic()
      geom = sgeom.Polygon(np.array([lhr, jfk, tul]))
      expected = pytest.approx(
          lhr_to_jfk + jfk_to_tul + tul_to_lhr, 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 5 for calling a global function with example usage: test_geometry_length_polygon() without return types