From 1033933f85eb097eb2c3ad6fbe5676dbf4057e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Wed, 24 Nov 2021 09:40:13 +0100 Subject: [PATCH] chg: [test] decrease relative tolerance. --- tests/test_generators.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_generators.py b/tests/test_generators.py index 32b7724..1371cc9 100644 --- a/tests/test_generators.py +++ b/tests/test_generators.py @@ -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