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

Method tearDown

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

Source from the content-addressed store, hash-verified

760 self.cli_conn = conn
761
762 def tearDown(self):
763 self.cli_conn.close()
764 self.cli_conn = None
765 super().tearDown()
766
767 def clientSetUp(self):
768 super().clientSetUp()

Callers

nothing calls this directly

Calls 3

superClass · 0.85
closeMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected