summaryrefslogtreecommitdiff
path: root/Lib/test/test_errno.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_errno.py')
-rw-r--r--Lib/test/test_errno.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/test/test_errno.py b/Lib/test/test_errno.py
index 058dcb9a23..5c437e9cce 100644
--- a/Lib/test/test_errno.py
+++ b/Lib/test/test_errno.py
@@ -3,7 +3,6 @@
"""
import errno
-from test import support
import unittest
std_c_errors = frozenset(['EDOM', 'ERANGE'])
@@ -32,9 +31,5 @@ class ErrorcodeTests(unittest.TestCase):
'no %s attr in errno.errorcode' % attribute)
-def test_main():
- support.run_unittest(ErrnoAttributeTests, ErrorcodeTests)
-
-
if __name__ == '__main__':
- test_main()
+ unittest.main()