Skip to content

Commit 74101de

Browse files
committed
Remove unnecessary use of hh.shared_dtypes() in test_empty
1 parent 12c3aa2 commit 74101de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/test_creation_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def test_asarray_arrays(shape, dtypes, data):
315315
), f"{f_out}, but should be {value} after x was mutated"
316316

317317

318-
@given(hh.shapes(), hh.kwargs(dtype=st.none() | hh.shared_dtypes))
318+
@given(hh.shapes(), hh.kwargs(dtype=st.none() | xps.scalar_dtypes()))
319319
def test_empty(shape, kw):
320320
out = xp.empty(shape, **kw)
321321
if kw.get("dtype", None) is None:

0 commit comments

Comments
 (0)