summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_indexing_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-02-25 10:22:21 +0100
committerSebastian Berg <sebastianb@nvidia.com>2023-02-25 14:28:33 +0100
commit770fe81cc2969d36af4bd1576ce5b69fcb03ffbf (patch)
treec6617e6dbcff48b9c8c87327641e4f0aac691389 /numpy/array_api/tests/test_indexing_functions.py
parent5f04e748b8d4c92bc6ad4d7a38ee6601dc0ccf04 (diff)
downloadnumpy-770fe81cc2969d36af4bd1576ce5b69fcb03ffbf.tar.gz
BUG: Allow no-op clearing of void dtypes
Some void dtypes think they contain objects but don't. Instead of playing whack-a-mole to see if that can be fixed, simply make the clearing a no-op here for them. User dtypes are weirder, it should be OK to pass through. Fixes the error message and use write-unraisable. Closes gh-23277
Diffstat (limited to 'numpy/array_api/tests/test_indexing_functions.py')
0 files changed, 0 insertions, 0 deletions