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

Method tearDown

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

Source from the content-addressed store, hash-verified

1938 self.serv.listen()
1939
1940 def tearDown(self):
1941 self.serv.close()
1942 self.serv = None
1943
1944 def testTimeoutAttribute(self):
1945 # This will prove that the timeout gets through HTTPConnection

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected