diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-30 17:34:49 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-30 17:34:49 (GMT) |
commit | d52656b4bc249154728e8b35597f810562806aa6 (patch) | |
tree | a3aeb202b90a2d8d60889a7b98b4d8aea8967fbf /Lib/test | |
parent | 65c9c6426b719d885f12938a2c5ab938558406ab (diff) | |
download | cpython-d52656b4bc249154728e8b35597f810562806aa6.zip cpython-d52656b4bc249154728e8b35597f810562806aa6.tar.gz cpython-d52656b4bc249154728e8b35597f810562806aa6.tar.bz2 |
Merged revisions 75960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75960 | antoine.pitrou | 2009-10-30 18:33:28 +0100 (ven., 30 oct. 2009) | 3 lines
Fix transient refleaks in test_docxmlrpc.
........
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_docxmlrpc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_docxmlrpc.py b/Lib/test/test_docxmlrpc.py index 7bffa48..d48058c 100644 --- a/Lib/test/test_docxmlrpc.py +++ b/Lib/test/test_docxmlrpc.py @@ -53,6 +53,7 @@ POSTing to /RPC2. Try self.add, too.""") class DocXMLRPCHTTPGETServer(unittest.TestCase): def setUp(self): + self._threads = support.threading_setup() # Enable server feedback DocXMLRPCServer._send_traceback_header = True @@ -74,6 +75,7 @@ class DocXMLRPCHTTPGETServer(unittest.TestCase): # Disable server feedback DocXMLRPCServer._send_traceback_header = False + support.threading_cleanup(*self._threads) def test_valid_get_response(self): self.client.request("GET", "/") |