MCPcopy Index your code
hub / github.com/python/cpython / tearDown

Method tearDown

Lib/test/test_docxmlrpc.py:82–89  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 self.client = http.client.HTTPConnection("localhost:%d" % PORT)
81
82 def tearDown(self):
83 self.client.close()
84
85 # Disable server feedback
86 DocXMLRPCServer._send_traceback_header = False
87 self.serv.shutdown()
88 self.thread.join()
89 self.serv.server_close()
90
91 def test_valid_get_response(self):
92 self.client.request("GET", "/")

Callers

nothing calls this directly

Calls 4

closeMethod · 0.45
shutdownMethod · 0.45
joinMethod · 0.45
server_closeMethod · 0.45

Tested by

no test coverage detected