mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30: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>
130 B
130 B