code: def assertAlmostEqualMatrix(self, mat1, mat2, eps=1e-7):
      self.assertTrue(
          all(
              abs(obs - exp) < eps
              for obs, exp in zip(sum(mat1, []), sum(mat2, []))
          )
      )
  
file_path: python-igraph/tests/test_spectral.py
imports: import unittest
  from igraph import Graph
label_desc: Use image node_id 1 for calling the SpectralTests obj's underlying member method code with example usage: obj.assertAlmostEqualMatrix(mat1, mat2, eps) without return types