code: def equipped_spaces(request):
      dim, n_draws = request.param
      space = request.cls.space = MultinomialDistributions(
          dim=dim, n_draws=n_draws
      )
  
      request.cls.data_generator = RandomDataGenerator(
          space, amplitude=10.0
      )
      request.cls.data_generator_sphere = RandomDataGenerator(
          space.metric._sphere
      )
  
file_path: geomstats/tests/tests_geomstats/test_information_geometry/test_multinomial.py
imports: import random
  import pytest
  from geomstats.information_geometry.multinomial import MultinomialDistributions
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test.random import RandomDataGenerator
  from geomstats.test_cases.information_geometry.multinomial import MultinomialDistributionsTestCase, MultinomialMetricTestCase
  from .data.multinomial import MultinomialDistributions2TestData, MultinomialDistributions3TestData, MultinomialDistributionsTestData, MultinomialMetricTestData
label_desc: Use image node_id 2 for calling a global function with example usage: equipped_spaces(request) without return types