MCPcopy Create free account
hub / github.com/RustPython/RustPython / tearDown

Method tearDown

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

Source from the content-addressed store, hash-verified

5519 newline = self.newline)
5520
5521 def tearDown(self):
5522 self.serv_finished.set()
5523 self.read_file.close()
5524 self.assertTrue(self.read_file.closed)
5525 self.read_file = None
5526 SocketConnectedTest.tearDown(self)
5527
5528 def clientSetUp(self):
5529 SocketConnectedTest.clientSetUp(self)

Callers

nothing calls this directly

Calls 4

assertTrueMethod · 0.80
setMethod · 0.45
closeMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected