code: def equipped_spaces(request):
      space = request.cls.space = DirichletDistributions(
          dim=request.param
      )
  
      request.cls.data_generator = RandomDataGenerator(
          space, amplitude=5.0
      )
  
file_path: geomstats/tests/tests_geomstats/test_information_geometry/test_dirichlet.py
imports: import random
  import pytest
  from geomstats.information_geometry.dirichlet import DirichletDistributions
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test.random import RandomDataGenerator
  from geomstats.test_cases.information_geometry.dirichlet import DirichletDistributionsTestCase, DirichletMetricTestCase
  from .data.dirichlet import DirichletDistributions3TestData, DirichletDistributionsTestData, DirichletMetricTestData
label_desc: Use image node_id 2 for calling a global function with example usage: equipped_spaces(request) without return types