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

Method tearDown

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

Source from the content-addressed store, hash-verified

619 self.cli_conn = conn
620
621 def tearDown(self):
622 self.cli_conn.close()
623 self.cli_conn = None
624 ThreadedTCPSocketTest.tearDown(self)
625
626 def clientSetUp(self):
627 ThreadedTCPSocketTest.clientSetUp(self)

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected