Skip to content

Commit f5f9543

Browse files
committed
Revert "BUG: work around jax/hypothesis combination being unreasonable"
This reverts commit 1b79605. cf a discussion at data-apis#368
1 parent 1b79605 commit f5f9543

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

array_api_tests/test_utility_functions.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,10 @@ def test_any(x, data):
6565
out=result, expected=expected, kw=kw)
6666

6767

68-
# NB: hh.int_dtypes instead of hh.numeric_dtypes because of
69-
# https://github.com/data-apis/array-api-tests/issues/368
7068
@pytest.mark.unvectorized
7169
@pytest.mark.min_version("2024.12")
7270
@given(
73-
x=hh.arrays_no_scalars(hh.int_dtypes, hh.shapes(min_dims=1, min_side=1)),
71+
x=hh.arrays(hh.numeric_dtypes, hh.shapes(min_dims=1, min_side=1)),
7472
data=st.data(),
7573
)
7674
def test_diff(x, data):
@@ -105,7 +103,7 @@ def test_diff(x, data):
105103
@pytest.mark.min_version("2024.12")
106104
@pytest.mark.unvectorized
107105
@given(
108-
x=hh.arrays(hh.int_dtypes, hh.shapes(min_dims=1, min_side=1)),
106+
x=hh.arrays(hh.numeric_dtypes, hh.shapes(min_dims=1, min_side=1)),
109107
data=st.data(),
110108
)
111109
def test_diff_append_prepend(x, data):

0 commit comments

Comments
 (0)