micropython/tests/basics/errno1.py.exp
David Lechner 58e4d72338 py/objexcept: Pretty print OSError also when it has 2 arguments.
This extends pretty-printing of OSError's to handle two arguments when the
exception name is known.

Signed-off-by: David Lechner <david@pybricks.com>
2021-07-01 13:23:54 +10:00

7 lines
94 B
Plaintext

<class 'int'>
[Errno ] EIO
[Errno ] EIO: details
( , 'details', 'more details')
9999
uerrno