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.
........
This commit is contained in:
Antoine Pitrou 2009-10-30 17:34:49 +00:00
parent 65c9c6426b
commit d52656b4bc

View file

@ -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", "/")