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

Method tearDown

Lib/test/test_socket.py:632–635  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

630 self.cli_conn = conn
631
632 def tearDown(self):
633 self.cli_conn.close()
634 self.cli_conn = None
635 ThreadedTCPSocketTest.tearDown(self)
636
637 def clientSetUp(self):
638 ThreadedTCPSocketTest.clientSetUp(self)

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected