summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_mixins.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Remove Python2 workaroundsSeth Troisi2020-01-231-1/+0
|
* MAINT: Clean up, mostly unused imports.Warren Weckesser2020-01-231-1/+0
|
* MAINT: Remove sys.version checks in testsSeth Troisi2020-01-151-8/+4
|
* MAINT: Remove implicit inheritance from object class (#15236)Jon Dufresne2020-01-051-2/+2
| | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python.
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-2/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* ENH: implement matmul on NDArrayOperatorsMixin (#12488)Stephan Hoyer2018-12-051-0/+11
| | | | | | * ENH: implement matmul on NDArrayOperatorsMixin * MAINT: remove unnecessary pytest import
* MAINT: Remove all uses of run_module_suite.Charles Harris2018-04-061-7/+1
| | | | | That function is nose specific and has not worked since `__init__` files were added to the tests directories.
* TST: Remove unittest dependencies in numpy/lib/tests.Charles Harris2017-07-241-2/+3
|
* ENH: add divmod support to NDArrayOperatorsMixinStephan Hoyer2017-05-071-37/+55
|
* ENH: add __pos__ to NDArrayOperatorsMixinStephan Hoyer2017-04-301-1/+1
|
* ENH: NDArrayOperatorsMixin calls ufuncs directly, like ndarrayStephan Hoyer2017-04-271-10/+7
| | | | | | | | | * ENH: NDArrayOperatorsMixin calls ufuncs directly, like ndarray Per our discussion in https://github.com/numpy/numpy/pull/8247#discussion_r112825050 * add back in accidentally dropped __repr__
* BUG: Fix ArrayLike(NDArrayOperatorsMixin) operations with object()Stephan Hoyer2017-04-271-6/+20
|
* ENH: Add NDArrayOperatorsMixin mixin class.Stephan Hoyer2017-04-271-0/+189
This mixin class provides an easy way to implement arithmetic operators that defer to __array_ufunc__ like numpy.ndarray in non-ndarray subclasses.