From 59e8285731bff6f60ce514b4ae16a93c32e108f2 Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Sun, 15 Sep 2024 15:47:21 +0200 Subject: [PATCH] fix --- tests/test_draw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_draw.py b/tests/test_draw.py index 91ac4027..b4e9e088 100644 --- a/tests/test_draw.py +++ b/tests/test_draw.py @@ -212,8 +212,8 @@ def __call__(self, a, b): ui = out.children[1] header, parameters = ui.children fit_button, update_button, reset_button, algo_select = header.children - assert parameters.children[0].slider.max == np.finfo(float).max - assert parameters.children[1].slider.min == -np.finfo(float).max + assert parameters.children[0].slider.max == 1 + assert parameters.children[1].slider.min == -1 with plot.assert_call(): fit_button.click() assert_allclose(m.values, (100, -100), atol=1e-5)