[Python-checkins] cpython: Partially revert changeset #281857369a78 to make sure threads are

brett.cannon python-checkins at python.org
Thu Jun 13 03:26:09 CEST 2013


http://hg.python.org/cpython/rev/017c431d1798
changeset:   84107:017c431d1798
user:        Brett Cannon <brett at python.org>
date:        Wed Jun 12 21:25:23 2013 -0400
summary:
  Partially revert changeset #281857369a78 to make sure threads are
reaped in all situations.

files:
  Lib/test/test_xmlrpc.py |  12 +++++++++++-
  1 files changed, 11 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py
--- a/Lib/test/test_xmlrpc.py
+++ b/Lib/test/test_xmlrpc.py
@@ -1079,5 +1079,15 @@
         self.assertTrue(server.use_builtin_types)
 
 
+ at support.reap_threads
+def test_main():
+    support.run_unittest(XMLRPCTestCase, HelperTestCase, DateTimeTestCase,
+            BinaryTestCase, FaultTestCase, UseBuiltinTypesTestCase,
+            SimpleServerTestCase, KeepaliveServerTestCase1,
+            KeepaliveServerTestCase2, GzipServerTestCase,
+            MultiPathServerTestCase, ServerProxyTestCase, FailingServerTestCase,
+            CGIHandlerTestCase)
+
+
 if __name__ == "__main__":
-    support.reap_threads(unittest.main)()
+    test_main()

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list