Skip to content

Commit 65f3b2c

Browse files
committed
Pass tuple[int] instead of tuple[Array] as shape to xp.full
1 parent a434727 commit 65f3b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/test_manipulation_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def test_repeat(x, kw, data):
341341
for i, count in enumerate(repeats_array):
342342
end = start + count
343343
ph.assert_array_elements("repeat", out=out_slice[start:end],
344-
expected=xp.full((count,), x_slice[i], dtype=x.dtype),
344+
expected=xp.full((int(count),), x_slice[i], dtype=x.dtype),
345345
kw=kw)
346346
start = end
347347

0 commit comments

Comments
 (0)