diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-06-13 20:21:19 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-06-13 20:21:19 -0600 |
commit | ed031c2eba327d9c01904441b9e13421c661e417 (patch) | |
tree | de6e6a191346ca6d8573f837ec913dec4fbb5fdc /numpy/core/defchararray.py | |
parent | 3b3edd9ae8e82259215c72798af4fe3880c86f0d (diff) | |
download | numpy-ed031c2eba327d9c01904441b9e13421c661e417.tar.gz |
TST: Test __array_priority__ for different class combinations.
This checks the four classes with different __array_priority__ values
against each other for the operators
__add__, __radd__
__sub__, __rsub__
__mul__, __rmul__
__pow__, __rpow__
__div__, __rdiv__
__mod__, __rmod__
__truediv__, __rtruediv__
__floordiv__, __rfloordiv__
__and__, __rand__
__xor__, __rxor__
__or__, __ror__
__lshift__, __rlshift__
__rshift__, __rrshift__
__eq__
__ne__
__gt__
__ge__
__lt__
__le__
The classes are ndarray, two subclasses of ndarray, and a class unrelated
to ndarray. The combinations checked are
ndarray -- ndarray subclass
ndarray -- unrelated class
ndarray subclass -- ndarray subclass
ndarray subclass -- unrelated class
Diffstat (limited to 'numpy/core/defchararray.py')
0 files changed, 0 insertions, 0 deletions