From 5d9c759571d9f3d715dae27ecd829351427a4886 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Fri, 16 Jan 2026 15:59:10 +0100 Subject: [PATCH] CI: Adjust scipy integration tolerances Fixes #3116. --- python/tests/test_bngl.py | 4 ++-- python/tests/test_pysb.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/tests/test_bngl.py b/python/tests/test_bngl.py index 882c203e5c..0c0a917b2f 100644 --- a/python/tests/test_bngl.py +++ b/python/tests/test_bngl.py @@ -49,8 +49,8 @@ def test_compare_to_pysb_simulation(example): with suppress(ValueError): RESERVED_SYMBOLS.remove("NULL") - atol = 1e-8 - rtol = 1e-8 + atol = 1e-12 + rtol = 1e-10 model_file = os.path.join( os.path.dirname(__file__), diff --git a/python/tests/test_pysb.py b/python/tests/test_pysb.py index a0bbd3b2b6..118103d81b 100644 --- a/python/tests/test_pysb.py +++ b/python/tests/test_pysb.py @@ -149,8 +149,8 @@ def test_compare_to_sbml_import( @skip_on_valgrind @pytest.mark.parametrize("example", pysb_models + custom_models) def test_compare_to_pysb_simulation(example): - atol = 1e-8 - rtol = 1e-8 + atol = 1e-12 + rtol = 1e-10 with amici.add_path(os.path.dirname(pysb.examples.__file__)): with amici.add_path(