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>
2023-06-08 17:54:24 +10:00
Damien George
1098d1d630
tests/basics/memoryview_itemsize: Make portable to 32- and 64-bit archs.
2019-12-13 15:59:08 +11:00
Damien George
30e25174bb
tests: Rename "array" module to "uarray".
2019-10-22 19:16:54 +11:00
Damien George
a474ddf959
tests/basics: Add coverage tests for memoryview attributes.
2019-05-14 17:22:49 +10:00
stijn
90fae9172a
py/objarray: Add support for memoryview.itemsize attribute.
...
This allows figuring out the number of bytes in the memoryview object as
len(memview) * memview.itemsize.
The feature is enabled via MICROPY_PY_BUILTINS_MEMORYVIEW_ITEMSIZE and is
disabled by default.
2019-05-14 17:15:17 +10:00