summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_asarray.py
Commit message (Collapse)AuthorAgeFilesLines
* TST: Move new `asarray` test to a more appropriate place. (#22251)M. Eric Irrgang2022-09-131-64/+0
| | | | | | | | | | | | | As noted at #21995 (comment), the new test from #21995 was placed in a directory intended for the Array API, and unrelated to the change. * Consolidate test_dtype_identity into an existing test file. Remove `test_asarray.py`. Create a new `TestAsArray` suite in `test_array_coercion.py` * Linting. Wrap some comments that got too long after function became a method (with additional indentation).
* Add release note and further clarify tests.M. Eric Irrgang2022-07-171-12/+31
|
* Lint.M. Eric Irrgang2022-07-171-3/+4
| | | | Shorten some lines.
* Expand test_asarray.py.M. Eric Irrgang2022-07-171-13/+33
| | | | | | | * Improve comments/docs. * Improve descriptiveness of variable names. * Add additional test expressions that would not pass without this patch.
* Update comment and obey formatting requirements.M. Eric Irrgang2022-07-161-2/+2
|
* Add unit testing.M. Eric Irrgang2022-07-161-0/+24