summaryrefslogtreecommitdiff
path: root/tests/basics/io_buffered_writer.py
AgeCommit message (Collapse)Author
2025-06-17py/modio: Fix the case where write fails in BufferedWriter.flush.Jeff Epler
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>
2023-06-08tests: Replace umodule with module everywhere.Jim Mussared
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-05-19tests/basics: Add more tests for hashing of various types.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2018-06-27tests: Move non-filesystem io tests to basics dir with io_ prefix.Damien George