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

Method clientTearDown

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

Source from the content-addressed store, hash-verified

770 self.serv_conn = self.cli
771
772 def clientTearDown(self):
773 try:
774 self.serv_conn.close()
775 self.serv_conn = None
776 except AttributeError:
777 pass
778 super().clientTearDown()
779
780
781class UnixSocketTestBase(SocketTestBase):

Callers

nothing calls this directly

Calls 3

superClass · 0.85
closeMethod · 0.45
clientTearDownMethod · 0.45

Tested by

no test coverage detected