From da1028faf248df381c3e714c8f9b2fcd69270ef7 Mon Sep 17 00:00:00 2001 From: kelle Date: Fri, 15 Nov 2024 11:43:15 +0100 Subject: [PATCH] increase tolerance --- tests/test_isochrone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_isochrone.py b/tests/test_isochrone.py index 852f4ed..e95964a 100644 --- a/tests/test_isochrone.py +++ b/tests/test_isochrone.py @@ -43,8 +43,8 @@ def test_evaluate(xval, age, xparam, yparam, expected_result, expected_result_lo assert (isinstance(result, tuple)) is True if yparam == 'logg': assert (np.isclose(average, expected_result, atol=0.006)) - assert (np.isclose(lower, expected_result_low, atol=0.01)) - assert (np.isclose(upper, expected_result_up, atol=0.01)) + assert (np.isclose(lower, expected_result_low, atol=0.015)) + assert (np.isclose(upper, expected_result_up, atol=0.015)) else: assert (np.isclose(average.value, expected_result, atol=0.005)) assert (np.isclose(lower.value, expected_result_low, atol=0.01))