code: def test_gcp_repr():
      gcp = GroundControlPoint(
          1.0, 1.5, 100.0, 1000.0, id="foo", info="bar"
      )
      copy = eval(repr(gcp))
      for attr in ("id", "info", "row", "col", "x", "y", "z"):
          assert getattr(copy, attr) == getattr(gcp, attr)
  
file_path: rasterio/tests/test_gcps.py
imports: import numpy
  import pytest
  import rasterio
  from rasterio.control import GroundControlPoint
label_desc: Use image node_id 3 for calling a global function with example usage: test_gcp_repr() without return types