diff options
| author | Jim Mussared | 2020-01-29 14:27:33 +1100 |
|---|---|---|
| committer | Damien George | 2020-04-05 15:02:06 +1000 |
| commit | 85858e72dfdc3e941c2e620e94de05ad663138b1 (patch) | |
| tree | d801c11e07380213b7e2abbb3066e2a90636369c /tests/micropython/heapalloc_exc_compressed_emg_exc.py.exp | |
| parent | 92c83bd16b55daf81157100243ded6d7d0e56538 (diff) | |
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.
Diffstat (limited to 'tests/micropython/heapalloc_exc_compressed_emg_exc.py.exp')
| -rw-r--r-- | tests/micropython/heapalloc_exc_compressed_emg_exc.py.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/micropython/heapalloc_exc_compressed_emg_exc.py.exp b/tests/micropython/heapalloc_exc_compressed_emg_exc.py.exp new file mode 100644 index 000000000..7c368712a --- /dev/null +++ b/tests/micropython/heapalloc_exc_compressed_emg_exc.py.exp @@ -0,0 +1,4 @@ +NameError name 'name' isn't defined +KeyError pop from an empty set +name 'name' isn't defined +pop from an empty set |
