code: def point_cmp_spaces(request):
      dim, Space, OtherSpace = request.param
      space = request.cls.space = Space(dim)
      other_space = request.cls.other_space = OtherSpace(dim)
  
      request.cls.point_transformer = HyperbolicTransformer(
          space, other_space
      )
  
imports: import random
  import pytest
  from geomstats.geometry._hyperbolic import _Hyperbolic
  from geomstats.geometry.hyperboloid import Hyperboloid
  from geomstats.geometry.poincare_ball import PoincareBall
  from geomstats.geometry.poincare_half_space import PoincareHalfSpace
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test_cases.geometry.hyperbolic import BallToHalfSpace, HyperbolicCoordsTransformTestCase, HyperbolicTransformer
  from geomstats.test_cases.geometry.riemannian_metric import RiemannianMetricComparisonTestCase
  from .data.hyperbolic import HyperbolicCmpWithTransformTestData, HyperbolicCoordsTransform2TestData, HyperbolicCoordsTransformTestData
  from .data.riemannian_metric import RiemannianMetricCmpWithPointTransformTestData
label_desc: Use image node_id 2 for calling a global function with example usage: point_cmp_spaces(request) without return types