]> granicus.if.org Git - python/commitdiff
Try to fix transient refleaks in test_xmlrpc.
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 30 Oct 2009 17:56:00 +0000 (17:56 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 30 Oct 2009 17:56:00 +0000 (17:56 +0000)
Lib/test/test_xmlrpc.py

index 13db50f4d66d76dc4611f35046c85033fd748d3c..87bfb1f68e8c70f449e390c0cab772ad998e646c 100644 (file)
@@ -973,6 +973,7 @@ class TransportSubclassTestCase(unittest.TestCase):
         req = self.issue_request(TestTransport)
         self.assertTrue("X-Test: test_send_content\r\n" in req)
 
+@test_support.reap_threads
 def test_main():
     xmlrpc_tests = [XMLRPCTestCase, HelperTestCase, DateTimeTestCase,
          BinaryTestCase, FaultTestCase, TransportSubclassTestCase]