code: def test_sample_shape(self, n_points, n_samples):
      point = self.data_generator.random_point(n_points)
  
      res = self.space.sample(point, n_samples=n_samples)
  
      expected_shape = (
          get_batch_shape(self.space.point_ndim, point)
          + (n_samples,)
          + self.space.support_shape
      )
      self.assertEqual(res.shape, expected_shape)
  
file_path: geomstats/geomstats/test_cases/information_geometry/base.py
imports: import pytest
  import geomstats.backend
  from geomstats.test.test_case import TestCase
  from geomstats.test.vectorization import generate_vectorization_data
  from geomstats.vectorization import get_batch_shape
label_desc: Use image node_id 1 for calling the InformationManifoldMixinTestCase obj's underlying member method code with example usage: obj.test_sample_shape(n_points, n_samples) without return types