forked from numpy/numpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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__.
- Loading branch information
Showing
1 changed file
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters