code: def mat_spaces(request):
      request.cls.space = _SpecialOrthogonalMatrices(
          n=request.param, equip=False
      )
  
imports: import random
  import pytest
  from geomstats.geometry.special_orthogonal import SpecialOrthogonal, _SpecialOrthogonalMatrices
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test_cases.geometry.special_orthogonal import SpecialOrthogonal3VectorsTestCase, SpecialOrthogonalMatricesTestCase, SpecialOrthogonalVectorsTestCase
  from .data.special_orthogonal import SpecialOrthogonal2VectorsSmokeTestData, SpecialOrthogonal2VectorsTestData, SpecialOrthogonal3VectorsSmokeTestData, SpecialOrthogonal3VectorsTestData, SpecialOrthogonalMatrices2TestData, SpecialOrthogonalMatrices3TestData, SpecialOrthogonalMatricesTestData
label_desc: Use image node_id 1 for calling a global function with example usage: mat_spaces(request) without return types