chg: [test] trying assert_allclose instead of assert_array_equal.

This commit is contained in:
Cédric Bonhomme 2021-11-24 09:29:14 +01:00
parent a1213a9163
commit c25cdc09f7
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D

View file

@ -176,7 +176,9 @@ class TestGenerators(unittest.TestCase):
test_file_reshaped = test_file.reshape(
int(test_file.shape[0]), int(test_file.shape[1])
)
self.assertIsNone(np.testing.assert_array_equal(corners, test_file_reshaped))
self.assertIsNone(
np.testing.assert_allclose(corners, test_file_reshaped, verbose=True)
)
@staticmethod
def shi_tomashi_reconfigure(