See also https://github.com/PyTables/PyTables/issues/934.
Forwarded: not-needed
Applied-Upstream: https://github.com/PyTables/PyTables/commit/
f3bfb0cc2508cd25e29408e25c8a06b211dd27e7
Gbp-Pq: Name 0005-Fix-compatibility-with-numpy-1.22.patch
import numpy as np
+from numpy import testing as npt
import tables as tb
from tables.tests import common
if common.verbose:
print("Computed expression:", repr(r1), r1.dtype)
print("Should look like:", repr(r2), r2.dtype)
- self.assertTrue(common.areArraysEqual(r1, r2),
- "Evaluate is returning a wrong value.")
+ npt.assert_array_almost_equal_nulp(r1, r2)
# Test for EArrays with maindim != 0