From 2e754d6db0a2f98e98d3ded445e7de967f7bac3b Mon Sep 17 00:00:00 2001 From: Feda Curic Date: Thu, 4 Jan 2024 15:11:23 +0100 Subject: [PATCH] Reduce accuracy of surface-order test Test is flaky. Test makes sure ERT does not change order of arrays and numerical accuracy is not important. --- tests/integration_tests/analysis/test_es_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration_tests/analysis/test_es_update.py b/tests/integration_tests/analysis/test_es_update.py index 99f1367a88e..6dee7b8cf8d 100644 --- a/tests/integration_tests/analysis/test_es_update.py +++ b/tests/integration_tests/analysis/test_es_update.py @@ -186,7 +186,7 @@ def sample_prior(nx, ny): with pytest.raises(AssertionError): np.testing.assert_array_equal(surf_prior[i], surf_posterior[i]) np.testing.assert_almost_equal( - surf_prior[i].values, surf_posterior[i].values, decimal=3 + surf_prior[i].values, surf_posterior[i].values, decimal=2 )