mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
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:
parent
65c9c6426b
commit
d52656b4bc
1 changed files with 2 additions and 0 deletions
|
@ -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", "/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue