summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2015-04-04 21:10:39 -0400
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2015-04-04 21:47:01 -0400
commitd1153b4cba5510bd1961e3a7ae7f0c07c124a202 (patch)
treebec54c008150f1b0b228edfff93650454ef8f8cb /numpy/lib/tests/test_function_base.py
parent6ba4fed3aa26979734faa462e172959fad69723b (diff)
downloadnumpy-d1153b4cba5510bd1961e3a7ae7f0c07c124a202.tar.gz
Add tests that __numpy_ufunc__ works with subclasses.
In particular, for a class S3(S2), where S2 defines __numpy_ufunc__, ensure that, e.g., S3() + S2() does *not* pass control to S2 if S2 and S3 share the same __radd__.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions