mirror of
https://github.com/micropython/micropython.git
synced 2026-01-26 22:00:23 +01:00
py/objexcept: Allow compression of exception message text.
The decompression of error-strings is only done if the string is accessed via printing or via er.args. Tests are added for this feature to ensure the decompression works.
This commit is contained in:
committed by
Damien George
parent
92c83bd16b
commit
85858e72df
6
tests/micropython/heapalloc_exc_compressed.py.exp
Normal file
6
tests/micropython/heapalloc_exc_compressed.py.exp
Normal file
@@ -0,0 +1,6 @@
|
||||
NameError name 'name' isn't defined
|
||||
KeyError pop from an empty set
|
||||
name 'name' isn't defined
|
||||
pop from an empty set
|
||||
NameError
|
||||
KeyError
|
||||
Reference in New Issue
Block a user