summaryrefslogtreecommitdiff
path: root/numpy/array_api/_manipulation_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-03-18 13:11:54 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2022-04-24 21:47:51 +0200
commit5a088cadc72ff446a983bfa47e32ca46f42c209b (patch)
tree61ecb2bddb506030d6267f30d5bb6020991f56a6 /numpy/array_api/_manipulation_functions.py
parent60f798a014c587afe1a817b9fb74e755a45c7f29 (diff)
downloadnumpy-5a088cadc72ff446a983bfa47e32ca46f42c209b.tar.gz
TST: Add subclass related tests
These are complicated, and modifications could probably be allowed here. The complexities arise not just from the assymetric behaviour of Python binary operators, but also because we additionally have our own logic for deferring sometimes (for arrays). That is, we may coerce the other object to an array when it is an "unknown" object. This may assume that subclasses of our scalars are always valid "arrays" already (so they never need to be coerced explicitly). That should be a sound assumption, I think?
Diffstat (limited to 'numpy/array_api/_manipulation_functions.py')
0 files changed, 0 insertions, 0 deletions