Skip to content

Commit 7ce5eb3

Browse files
committed
Fix input dtypes for test_clip
1 parent ceb63ea commit 7ce5eb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/test_operators_and_elementwise_functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ def test_ceil(x):
927927

928928

929929
@pytest.mark.min_version("2023.12")
930-
@given(x=hh.arrays(dtype=hh.int_dtypes, shape=hh.shapes()), data=st.data())
930+
@given(x=hh.arrays(dtype=hh.real_dtypes, shape=hh.shapes()), data=st.data())
931931
def test_clip(x, data):
932932
# TODO: test min/max kwargs, adjust values testing accordingly
933933

0 commit comments

Comments
 (0)