mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
Previously, there was no test coverage of the "write failed" path. In fact, the assertion would fire instead of gracefully raising a Python exception. Slightly re-organize the code to place the assertion later. Add a test case which exercises all paths, and update the expected output. Signed-off-by: Jeff Epler <jepler@gmail.com>
7.6 KiB
7.6 KiB