MCPcopy Index your code
hub / github.com/RustPython/RustPython / tearDown

Method tearDown

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

Source from the content-addressed store, hash-verified

1861 self.conn = None
1862
1863 def tearDown(self):
1864 if self.conn:
1865 self.conn.close()
1866 self.conn = None
1867 self.serv.close()
1868 self.serv = None
1869
1870 def testHTTPConnectionSourceAddress(self):
1871 self.conn = client.HTTPConnection(HOST, self.port,

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected