mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
This adds tests for some locations in the code where a memory allocation should raise an exception.
12 lines
365 B
Plaintext
12 lines
365 B
Plaintext
MemoryError: bytearray create
|
|
MemoryError: bytearray create from bytes
|
|
MemoryError: bytearray create from iter
|
|
MemoryError: bytearray.__add__
|
|
MemoryError: bytearray.__iadd__
|
|
bytearray(b'\x00\x00\x00\x00')
|
|
MemoryError: bytearray.append
|
|
MemoryError: bytearray.extend
|
|
MemoryError: bytearray subscr get
|
|
MemoryError: bytearray subscr grow
|
|
bytearray(b'\x00\x00\x00\x00')
|