summaryrefslogtreecommitdiff
path: root/numpy/tests/typing/pass/simple.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Move typing testsCharles Harris2020-09-071-182/+0
| | | | Move them into a new `numpy/typing/tests directory`
* MAINT: Implemented two dtype-related TODO's (#16622)Bas van Beek2020-07-301-2/+0
| | | | | This pull requests addresses and implement two previous TODO's in `np.typing._DTypeLike`: * Added a protocol, `_SupportsDtype`, for objects with the `dtype` attribute. * Replaced an old dictionary, representing array field parameter, with a `TypedDict`.
* MAINT: Added the `order` parameter to `np.array()` (#16966)Bas van Beek2020-07-291-0/+8
| | | | | | | * MAINT: Added the `order` argument to `np.array()` * MAINT: Made a number of `np.array()` arguments keyword-only * TST: Added a `np.array` test with >2 positional arguments
* MAINT: avoid more division by zero in typing test causing aarch64 to failJosh Wilson2020-06-071-5/+6
|
* MAINT: avoid divide by zero in typing test causing aarch64 tests to failJosh Wilson2020-06-071-1/+1
|
* MAINT: move typing tests cases into a subdirectory of numpy/testsJosh Wilson2020-06-071-0/+175