code: def test_implicitly_closed_round_tripping(geom_type, coordinates):
      result = geometryRT(
          Geometry.from_dict(
              **{"type": geom_type, "coordinates": coordinates}
          )
      )
      assert result.type == geom_type
      result_coordinates = result.coordinates
      while not isinstance(coordinates[0], tuple):
          result_coordinates = result_coordinates[0]
          coordinates = coordinates[0]
      assert result_coordinates[:-1] == coordinates
  
file_path: Fiona/tests/test_geometry.py
imports: import pytest
  from fiona._geometry import GeomBuilder, geometryRT
  from fiona.errors import UnsupportedGeometryTypeError
  from fiona.model import Geometry
label_desc: Use image node_id 4 for calling a global function with example usage: test_implicitly_closed_round_tripping(geom_type, coordinates) without return types