Update various test modules to use unittest.main() for test discovery
instead of manually listing tests for test.support.run_unittest().
diff --git a/Lib/test/test_contextlib.py b/Lib/test/test_contextlib.py
index d13659d..a38cc48 100644
--- a/Lib/test/test_contextlib.py
+++ b/Lib/test/test_contextlib.py
@@ -617,9 +617,5 @@
             'Hello'[50]
 
 
-# This is needed to make the test actually run under regrtest.py!
-def test_main():
-    support.run_unittest(__name__)
-
 if __name__ == "__main__":
-    test_main()
+    unittest.main()