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 63930b767..d7a5ccd54 100644
--- a/tests/basics/errno1.py
+++ b/tests/basics/errno1.py
@@ -15,3 +15,7 @@ print(msg[:7], msg[-5:])
# check that unknown errno is still rendered
print(str(OSError(9999)))
+
+# this tests a failed constant lookup in errno
+errno = uerrno
+print(errno.__name__)