Skip to content

Commit 40cb0cd

Browse files
committed
Remove unused dh.dtype_to_scalars
1 parent 829f0f7 commit 40cb0cd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

array_api_tests/dtype_helpers.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"all_float_dtypes",
2929
"bool_and_all_int_dtypes",
3030
"dtype_to_name",
31-
"dtype_to_scalars",
3231
"kind_to_dtypes",
3332
"is_int_dtype",
3433
"is_float_dtype",
@@ -141,15 +140,6 @@ def _make_dtype_tuple_from_names(names: List[str]) -> Tuple[DataType]:
141140
bool_and_all_int_dtypes = (xp.bool,) + all_int_dtypes
142141

143142

144-
dtype_to_scalars = EqualityMapping(
145-
[
146-
(xp.bool, [bool]),
147-
*[(d, [int]) for d in all_int_dtypes],
148-
*[(d, [int, float]) for d in float_dtypes],
149-
]
150-
)
151-
152-
153143
kind_to_dtypes = {
154144
"bool": [xp.bool],
155145
"signed integer": int_dtypes,

0 commit comments

Comments
 (0)