code: def test_scalar_curvature_against_closed_form(self, n_points, atol):
      base_point = self.data_generator.random_point(n_points)
  
      res = self.space.metric.scalar_curvature(base_point)
      expected = scalar_curvature(base_point)
      self.assertAllClose(res, expected, atol=atol)
  
imports: import pytest
  import geomstats.backend
  from geomstats.test.vectorization import generate_vectorization_data
  from geomstats.test_cases.geometry.base import VectorSpaceOpenSetTestCase
  from geomstats.test_cases.geometry.riemannian_metric import RiemannianMetricTestCase
  from geomstats.test_cases.information_geometry.base import InformationManifoldMixinTestCase
label_desc: Use image node_id 2 for calling the GammaMetricTestCase obj's underlying member method code with example usage: obj.test_scalar_curvature_against_closed_form(n_points, atol) without return types