chg: [test] decrease relative tolerance.

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

View file

@ -177,7 +177,8 @@ class TestGenerators(unittest.TestCase):
int(test_file.shape[0]), int(test_file.shape[1])
)
self.assertIsNone(
np.testing.assert_allclose(corners, test_file_reshaped, verbose=True)
np.testing.assert_allclose(
corners, test_file_reshaped, verbose=True, rtol=1e-02, atol=0)
)
@staticmethod