[Python-checkins] r61503 - python/trunk/Lib/test/test_errno.py
brett.cannon
python-checkins at python.org
Tue Mar 18 06:43:05 CET 2008
Author: brett.cannon
Date: Tue Mar 18 06:43:04 2008
New Revision: 61503
Modified:
python/trunk/Lib/test/test_errno.py
Log:
Improve the error message for a test that failed on the S-390 Debian buildbot.
Modified: python/trunk/Lib/test/test_errno.py
==============================================================================
--- python/trunk/Lib/test/test_errno.py (original)
+++ python/trunk/Lib/test/test_errno.py Tue Mar 18 06:43:04 2008
@@ -42,7 +42,8 @@
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.
More information about the Python-checkins
mailing list