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

Method setUp

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

Source from the content-addressed store, hash-verified

611 ThreadedTCPSocketTest.__init__(self, methodName=methodName)
612
613 def setUp(self):
614 ThreadedTCPSocketTest.setUp(self)
615 # Indicate explicitly we're ready for the client thread to
616 # proceed and then perform the blocking call to accept
617 self.serverExplicitReady()
618 conn, addr = self.serv.accept()
619 self.cli_conn = conn
620
621 def tearDown(self):
622 self.cli_conn.close()

Callers

nothing calls this directly

Calls 3

serverExplicitReadyMethod · 0.80
setUpMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected