code: def setup_class(self):
      RIVERS_PATH = shp.natural_earth(
          resolution="110m",
          category="physical",
          name="rivers_lake_centerlines",
      )
      self.reader = shp.Reader(RIVERS_PATH)
      names = [
          record.attributes["name"] for record in self.reader.records()
      ]
      # Choose a nice small river
      self.river_name = "Peace"
      self.river_index = names.index(self.river_name)
      self.test_river_geometry = list(self.reader.geometries())[
          self.river_index
      ]
      self.test_river_record = list(self.reader.records())[
          self.river_index
      ]
  
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 1 for calling the TestRivers obj's underlying member method code with example usage: obj.setup_class() without return types