code: def test_geometry(self):
      lake_geometry = self.test_lake_geometry
      assert lake_geometry.geom_type == "Polygon"
  
      # force an orientation due to potential reader differences
      # with pyshp 2.2.0 forcing a specific orientation.
      polygon = sgeom.polygon.orient(lake_geometry, -1)
  
      expected = np.array(
          [
              (-84.85548682324658, 11.147898667846633),
              (-85.29013729525353, 11.176165676310276),
              (-85.79132117383625, 11.509737046754324),
              (-85.8851655748783, 11.900100816287136),
              (-85.5653401354239, 11.940330918826362),
              (-85.03684526237491, 11.5216484643976),
              (-84.85548682324658, 11.147898667846633),
              (-84.85548682324658, 11.147898667846633),
          ]
      )
  
      assert_array_almost_equal(expected, polygon.exterior.coords)
  
      assert len(polygon.interiors) == 0
  
file_path: cartopy/lib/cartopy/tests/test_shapereader.py
imports: from pathlib import Path
  import numpy
  from numpy.testing import assert_array_almost_equal
  import pytest
  import shapely.geometry
  import cartopy.io.shapereader
label_desc: Use image node_id 2 for calling the TestLakes obj's underlying member method code with example usage: obj.test_geometry() without return types