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

Method clientTearDown

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

Source from the content-addressed store, hash-verified

5534 newline = self.newline)
5535
5536 def clientTearDown(self):
5537 self.cli_finished.set()
5538 self.write_file.close()
5539 self.assertTrue(self.write_file.closed)
5540 self.write_file = None
5541 SocketConnectedTest.clientTearDown(self)
5542
5543 def testReadAfterTimeout(self):
5544 # 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