Skip to content

Commit 5889a7e

Browse files
committed
Complex testing for all elwise funcs
1 parent 7a1e48e commit 5889a7e

File tree

2 files changed

+102
-51
lines changed

2 files changed

+102
-51
lines changed

Diff for: array_api_tests/dtype_helpers.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
"real_dtypes",
1919
"numeric_dtypes",
2020
"all_dtypes",
21-
"dtype_to_name",
21+
"all_float_dtypes",
2222
"bool_and_all_int_dtypes",
23+
"dtype_to_name",
2324
"dtype_to_scalars",
2425
"is_int_dtype",
2526
"is_float_dtype",
@@ -102,6 +103,7 @@ def __repr__(self):
102103
complex_dtypes = tuple(getattr(xp, name) for name in _complex_names)
103104
numeric_dtypes = real_dtypes + complex_dtypes
104105
all_dtypes = (xp.bool,) + numeric_dtypes
106+
all_float_dtypes = float_dtypes + complex_dtypes
105107
bool_and_all_int_dtypes = (xp.bool,) + all_int_dtypes
106108

107109

0 commit comments

Comments
 (0)