code: def test_scaling_factor(self, func_name, scale, expected):
      scaling_factor = _get_scaling_factor(func_name, scale)
      self.assertAllClose(scaling_factor, expected)
  
file_path: geomstats/geomstats/test_cases/geometry/scalar_product_metric.py
imports: from geomstats.geometry.scalar_product_metric import ScalarProductMetric, _get_scaling_factor, _wrap_attr
  from geomstats.test.test_case import TestCase
label_desc: Use image node_id 2 for calling the WrapperTestCase obj's underlying member method code with example usage: obj.test_scaling_factor(func_name, scale, expected) without return types