summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_elementwise_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-11-04 18:54:41 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2021-01-08 09:52:43 -0600
commit90f4b0838b44fabd89bcdd128d5707e7526d9d94 (patch)
tree4630fcb2b85fa333d8e87c1919437ad99b4cc5bb /numpy/array_api/tests/test_elementwise_functions.py
parentaa8984364ebf19cbcce5d64e354fd02d9dc531cd (diff)
downloadnumpy-90f4b0838b44fabd89bcdd128d5707e7526d9d94.tar.gz
MAINT: Implement new casting loops based on NEP 42 and 43
switch to using new casting as default to run full CI Initialize casting to silence compile warnings only... BUG: As my comment even said, out_needs_api is caller-initialized so I shouldn't init it to 0, it might disable api again. Simplify tests again, it seems unnecessar to go this complex Simplify `#if` as the variable should always be defined TST: Add more tests (and some related fixes) This fixes a few small things (i.e. the decref loop can be NULL and checking for writeable was incorrect in the private API). Mostly adds new tests for some internal API as well as for the copy of the auxiliar data. The nditer test however also is a heavyweight tests for the general multistep casting
Diffstat (limited to 'numpy/array_api/tests/test_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions