code: def test_diameter(self, points, expected, atol):
      res = self.space.metric.diameter(points)
      self.assertAllClose(res, expected, atol=atol)
  
imports: import math
  import pytest
  import geomstats.backend
  from geomstats.geometry.spd_matrices import SPDMatrices
  from geomstats.test_cases.geometry.connection import ConnectionComparisonTestCase, ConnectionTestCase
  from geomstats.vectorization import get_batch_shape
label_desc: Use image node_id 23 for calling the RiemannianMetricTestCase obj's underlying member method code with example usage: obj.test_diameter(points, expected, atol) without return types