summaryrefslogtreecommitdiff
path: root/tests/basics/errno1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/errno1.py')
-rw-r--r--tests/basics/errno1.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basics/errno1.py b/tests/basics/errno1.py
index bbbfac10c..cef5326b4 100644
--- a/tests/basics/errno1.py
+++ b/tests/basics/errno1.py
@@ -18,3 +18,7 @@ print(msg[:7], msg[msg.find(']'):])
# check that unknown errno is still rendered
print(str(OSError(9999)))
+
+# this tests a failed constant lookup in errno
+errno = uerrno
+print(errno.__name__)