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

Method clientTearDown

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

Source from the content-addressed store, hash-verified

5637 newline = self.newline)
5638
5639 def clientTearDown(self):
5640 self.cli_finished.set()
5641 self.write_file.close()
5642 self.assertTrue(self.write_file.closed)
5643 self.write_file = None
5644 SocketConnectedTest.clientTearDown(self)
5645
5646 def testReadAfterTimeout(self):
5647 # Issue #7322: A file object must disallow further reads

Callers

nothing calls this directly

Calls 4

assertTrueMethod · 0.80
setMethod · 0.45
closeMethod · 0.45
clientTearDownMethod · 0.45

Tested by

no test coverage detected