Jim Mussared
|
4216bc7d13
|
tests: Replace umodule with module everywhere.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
|
2 years ago |
Damien George
|
895b1dbdda
|
tests/basics: Split out memoryview slice-assign tests to separate file.
Signed-off-by: Damien George <damien@micropython.org>
|
4 years ago |
Jim Mussared
|
3ccce89b83
|
py/objarray: Turn on MP_TYPE_FLAG_EQ_CHECKS_OTHER_TYPE for memoryview.
And add corresponding tests.
Fixes #5674 (comparison of memoryview against bytes).
|
5 years ago |
Damien George
|
30e25174bb
|
tests: Rename "array" module to "uarray".
|
5 years ago |
Damien George
|
a474ddf959
|
tests/basics: Add coverage tests for memoryview attributes.
|
6 years ago |
Paul Sokolovsky
|
a2803b74f4
|
tests/basics: Convert "sys.exit()" to "raise SystemExit".
|
8 years ago |
Damien George
|
f4a12dca58
|
py/objarray: Disallow slice-assignment to read-only memoryview.
Also comes with a test for this. Fixes issue #2904.
|
8 years ago |
Paul Sokolovsky
|
f980c70997
|
tests/basic/: Make various tests skippable.
To run the testsuite on small ports.
|
8 years ago |
Rami Ali
|
1731868ae7
|
tests: Add tests to improve coverage of objarray.c.
|
8 years ago |
Delio Brignoli
|
32aba40830
|
py: Implement memoryview slice assignment.
Adds ability to do "memcpy" with memoryview objects, such as:
m1[0:3] = m2[2:5].
|
10 years ago |
Damien George
|
214179b430
|
tests: Add tests for SyntaxError, TypeError, and other missing things.
This is intended to improve coverage of the test suite.
|
10 years ago |
Damien George
|
dd4f4530ab
|
py: Add builtin memoryview object (mostly using array code).
|
10 years ago |