summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-03-18 05:43:04 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-03-18 05:43:04 (GMT)
commit08811dde5d797716009acd32c1604a41540d6dc9 (patch)
treea7ac8c28df40f0f85dad73fe396981257b035f54 /Lib
parent819f139c4b41f338419e24d5fb8a5517630447ad (diff)
downloadcpython-08811dde5d797716009acd32c1604a41540d6dc9.zip
cpython-08811dde5d797716009acd32c1604a41540d6dc9.tar.gz
cpython-08811dde5d797716009acd32c1604a41540d6dc9.tar.bz2
Improve the error message for a test that failed on the S-390 Debian buildbot.
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/test_errno.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_errno.py b/Lib/test/test_errno.py
index 3f44965..e42c86d 100755
--- a/Lib/test/test_errno.py
+++ b/Lib/test/test_errno.py
@@ -42,7 +42,8 @@ class ErrnoAttributeTests(unittest.TestCase):
errors_set = set(errors)
for attribute in errno.__dict__.iterkeys():
if attribute.isupper():
- self.assert_(attribute in errors_set)
+ self.assert_(attribute in errors_set,
+ "%s is an unexpected error value" % attribute)
def test_using_errorcode(self):
# Every key value in errno.errorcode should be on the module.