mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Issue 9916: Add some missing errno symbols.
This commit is contained in:
parent
0258ce8f0a
commit
31c604d3a7
3 changed files with 36 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue