summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/bytes_construct_endian.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-09-19 10:36:17 +1000
committerDamien George <damien@micropython.org>2022-09-19 23:27:08 +1000
commitfb77be150636090d69460578ed8458d84db02614 (patch)
treee7fc82ea9e14d22db6d82d762cf7f88075643475 /tests/float/bytes_construct_endian.py
parentcc588ac3a91a16807242347e8b182d4bc8b7f139 (diff)
downloadmicropython-fb77be150636090d69460578ed8458d84db02614.tar.gz
micropython-fb77be150636090d69460578ed8458d84db02614.zip
py: Include filename in errors from loading/saving files via "open".
This improves error messages in mpy-cross: - When loading a .py file that doesn't exist (or can't be opened) it now includes the filename in the OSError. - When saving a .mpy file that can't be opened it now raises an exception (prior, it would silently fail), and includes the filename in the OSError. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/float/bytes_construct_endian.py')
0 files changed, 0 insertions, 0 deletions