summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/array1.py
Commit message (Collapse)AuthorAge
* py/objarray: Implement more/less comparisons for array.stijn2021-05-13
|
* py/objarray: Prohibit comparison of mismatching types.stijn2021-05-13
| | | | | | | | | Array equality is defined as each element being equal but to keep code size down MicroPython implements a binary comparison. This can only be used correctly for elements with the same binary layout though so turn it into an NotImplementedError when comparing types for which the binary comparison yielded incorrect results: types with different sizes, and floating point numbers because nan != nan.
* tests/basics/array1.py: Add equality testing for array.Jim Mussared2020-02-21
|
* tests: Rename "array" module to "uarray".Damien George2019-10-22
|
* tests/basics: Convert "sys.exit()" to "raise SystemExit".Paul Sokolovsky2017-06-10
|
* tests/array*: Allow to skip test if "array" is unavailable.Paul Sokolovsky2017-01-07
|
* tests: Improve coverage of array, range, dict, slice, exc, unicode.Damien George2016-10-17
|
* tests/array1: Add tests for "l", "L" array types to improve coverage.Paul Sokolovsky2016-09-19
|
* tests: Add tests for SyntaxError, TypeError, and other missing things.Damien George2015-03-25
| | | | This is intended to improve coverage of the test suite.
* Rename array test to array1 so it doesn't clash with array module.Damien George2014-01-28
On my machine, 'import array' in CPython tries to load the array test.