From 6e66fd4e600427e18bb7a7220ff62882c2f5cdca Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Thu, 23 Jul 2026 11:50:07 +0200 Subject: [PATCH] MAINT: test_eye: limit the range of k --- array_api_tests/test_creation_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array_api_tests/test_creation_functions.py b/array_api_tests/test_creation_functions.py index 77e5dbb3..0afdd459 100644 --- a/array_api_tests/test_creation_functions.py +++ b/array_api_tests/test_creation_functions.py @@ -365,7 +365,7 @@ def test_empty_like(x, kw): n_rows=hh.sqrt_sizes, n_cols=st.none() | hh.sqrt_sizes, kw=hh.kwargs( - k=st.integers(), + k=st.integers(min_value=-hh.SQRT_MAX_ARRAY_SIZE, max_value=hh.SQRT_MAX_ARRAY_SIZE), dtype=hh.numeric_dtypes, ), )