Skip to content

Commit 2c8876a

Browse files
committed
Remove unused dh.dtype_to_scalars
1 parent 98110cb commit 2c8876a

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
@@ -29,7 +29,6 @@
2929
"all_float_dtypes",
3030
"bool_and_all_int_dtypes",
3131
"dtype_to_name",
32-
"dtype_to_scalars",
3332
"kind_to_dtypes",
3433
"is_int_dtype",
3534
"is_float_dtype",
@@ -143,15 +142,6 @@ def _make_dtype_tuple_from_names(names: List[str]) -> Tuple[DataType]:
143142
bool_and_all_int_dtypes = (xp.bool,) + all_int_dtypes
144143

145144

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

0 commit comments

Comments
 (0)