Commit 9f72a149 authored by Damien George's avatar Damien George
Browse files

tests/basics: Add test for printing OSError when errno is unknown.

parent b04d4a5b
......@@ -13,3 +13,6 @@ print(type(uerrno.EIO))
# check that errors are rendered in a nice way
msg = str(OSError(uerrno.EIO))
print(msg[:7], msg[-5:])
# check that unknown errno is still rendered
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment