diff options
author | Brett Cannon <brett@python.org> | 2013-06-13 01:25:23 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-06-13 01:25:23 (GMT) |
commit | e382b5868a4daca614589270b6b3fe5c50059986 (patch) | |
tree | c4570a09241921ee8215279967f71b2fd2a4ae35 /Lib | |
parent | c9a1bfed5d820b681debca52554fea76ba0a9ae0 (diff) | |
download | cpython-e382b5868a4daca614589270b6b3fe5c50059986.zip cpython-e382b5868a4daca614589270b6b3fe5c50059986.tar.gz cpython-e382b5868a4daca614589270b6b3fe5c50059986.tar.bz2 |
Partially revert changeset #281857369a78 to make sure threads are
reaped in all situations.
Diffstat (limited to 'Lib')
-rw-r--r-- | 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 index 4705a0d..99be297 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py @@ -1079,5 +1079,15 @@ class UseBuiltinTypesTestCase(unittest.TestCase): self.assertTrue(server.use_builtin_types) +@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() |