summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_asarray.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-07-06 13:21:43 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2022-07-06 13:24:02 -0700
commitac5a84692f988a7dddbb4d306e805afbf972571c (patch)
tree7e4c11fe3d5626b668e0d49b2137dd7ec200db5b /numpy/array_api/tests/test_asarray.py
parentaaa4c911259bfaad8efcbac2051c5586bde5fe28 (diff)
downloadnumpy-ac5a84692f988a7dddbb4d306e805afbf972571c.tar.gz
TST: Add additional tests for division-by-zero and integer overflow
This introduces a helper to iterate through "interesting" array cases that could maybe be used in other places. Keep the other test intact, it adds a check for mixed types (which is just casts currently, but cannot hurt) and is otherwise thorough.
Diffstat (limited to 'numpy/array_api/tests/test_asarray.py')
0 files changed, 0 insertions, 0 deletions