Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions array_api_tests/test_sorting_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def assert_scalar_in_set(
@given(
x=hh.arrays(
dtype=hh.real_dtypes,
shape=hh.shapes(min_dims=1, min_side=1),
shape=hh.shapes(min_dims=1, min_side=1, max_side=50),
# argsort needs to be tested on big enough arrays, hence we set `max_side=50`
# see https://github.com/data-apis/array-api-tests/issues/389
elements={"allow_nan": False},
),
data=st.data(),
Expand Down Expand Up @@ -94,7 +96,9 @@ def test_argsort(x, data):
@given(
x=hh.arrays(
dtype=hh.real_dtypes,
shape=hh.shapes(min_dims=1, min_side=1),
shape=hh.shapes(min_dims=1, min_side=1, max_side=50),
# sort needs to be tested on big enough arrays, hence we set `max_side=50`
# see https://github.com/data-apis/array-api-tests/issues/389
elements={"allow_nan": False},
),
data=st.data(),
Expand Down