From 59cd8b2a8f41a741fe458da82617a74c6b788f44 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Sun, 10 Aug 2025 22:51:48 +0200 Subject: [PATCH] Update tests/test_utils_npy.py --- tests/test_utils_npy.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_utils_npy.py b/tests/test_utils_npy.py index b8277d139..bdf711d67 100644 --- a/tests/test_utils_npy.py +++ b/tests/test_utils_npy.py @@ -34,9 +34,7 @@ def test_nice_linspace(start, stop, num, expected): @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (-2, 2, 2, True, np.array([-2., 0., 2.])), # symmetric around 0 (0, 5, 2, True, np.array([0., 2., 4.])), # basic - (0, 5, 2, False, np.array([0., 2.])), # no endpoint - (-1, 2, 1.5, True, [-1.5, 0., 1.5]) # step doesn't fit exactly - (-1, 2, -1.5, True, [-1.5, 0., 1.5]), + (0, 5, 2, False, np.array([0., 2.])), ( 5, 0, -2, True, np.array([ 4., 2., 0.])), ])