class_docstr: Class for Geomstats tests.
class_docstr_tok: ["Class","for","Geomstats","tests","."]
code: def assertAllCloseToNp(a, np_a, rtol=gs.rtol, atol=gs.atol):
      are_same_shape = np.all(a.shape == np_a.shape)
      are_same = np.allclose(a, np_a, rtol=rtol, atol=atol)
      assert are_same and are_same_shape
  
file_path: geomstats/geomstats/test/test_case.py
imports: import inspect
  import numpy
  import pytest
  import geomstats.backend
label_desc: Use image node_id 7 for calling the TestCase obj's underlying member method code with example usage: obj.assertAllCloseToNp(a, np_a, rtol, atol) without return types