Skip to content

Commit 5cd2e72

Browse files
committed
Remove dh.is_float_dtype() TODO
> Return True for float dtypes that aren't part of the spec e.g. np.float16 Such utility hasn't ended up being desired anywhere
1 parent 71639af commit 5cd2e72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

array_api_tests/dtype_helpers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ def is_float_dtype(dtype):
121121
# See https://github.com/numpy/numpy/issues/18434
122122
if dtype is None:
123123
return False
124-
# TODO: Return True for float dtypes that aren't part of the spec e.g. np.float16
125124
return dtype in float_dtypes
126125

127126

0 commit comments

Comments
 (0)