From 65f3b2c417be6459754b70b6c6a0384c50e46fd7 Mon Sep 17 00:00:00 2001 From: Christian Bourjau Date: Tue, 12 Aug 2025 17:29:45 +0200 Subject: [PATCH] Pass tuple[int] instead of tuple[Array] as shape to xp.full --- array_api_tests/test_manipulation_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array_api_tests/test_manipulation_functions.py b/array_api_tests/test_manipulation_functions.py index 754b507d..13412a30 100644 --- a/array_api_tests/test_manipulation_functions.py +++ b/array_api_tests/test_manipulation_functions.py @@ -341,7 +341,7 @@ def test_repeat(x, kw, data): for i, count in enumerate(repeats_array): end = start + count ph.assert_array_elements("repeat", out=out_slice[start:end], - expected=xp.full((count,), x_slice[i], dtype=x.dtype), + expected=xp.full((int(count),), x_slice[i], dtype=x.dtype), kw=kw) start = end