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

Method tearDown

Lib/test/test_httplib.py:1909–1914  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1907 self.conn = None
1908
1909 def tearDown(self):
1910 if self.conn:
1911 self.conn.close()
1912 self.conn = None
1913 self.serv.close()
1914 self.serv = None
1915
1916 def testHTTPConnectionSourceAddress(self):
1917 self.conn = client.HTTPConnection(HOST, self.port,

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected