Issue 9916: Add some missing errno symbols.

This commit is contained in:
Barry Warsaw 2010-09-22 20:58:04 +00:00
parent 0258ce8f0a
commit 31c604d3a7
3 changed files with 36 additions and 3 deletions

View file

@ -20,7 +20,8 @@ class ErrnoAttributeTests(unittest.TestCase):
def test_using_errorcode(self):
# Every key value in errno.errorcode should be on the module.
for value in errno.errorcode.values():
self.assertTrue(hasattr(errno, value), 'no %s attr in errno' % value)
self.assertTrue(hasattr(errno, value),
'no %s attr in errno' % value)
class ErrorcodeTests(unittest.TestCase):