We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 038ae16 commit 653921dCopy full SHA for 653921d
array_api_tests/test_data_type_functions.py
@@ -19,10 +19,6 @@ def non_complex_dtypes():
19
return xps.boolean_dtypes() | hh.real_dtypes
20
21
22
-def numeric_dtypes():
23
- return xps.boolean_dtypes() | hh.real_dtypes | hh.complex_dtypes
24
-
25
26
def float32(n: Union[int, float]) -> float:
27
return struct.unpack("!f", struct.pack("!f", float(n)))[0]
28
@@ -32,8 +28,8 @@ def _float_match_complex(complex_dtype):
32
33
29
34
30
@given(
35
- x_dtype=numeric_dtypes(),
36
- dtype=numeric_dtypes(),
31
+ x_dtype=hh.all_dtypes,
+ dtype=hh.all_dtypes,
37
kw=hh.kwargs(copy=st.booleans()),
38
data=st.data(),
39
)
0 commit comments