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

Method setUp

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

Source from the content-addressed store, hash-verified

752 """
753
754 def setUp(self):
755 super().setUp()
756 # Indicate explicitly we're ready for the client thread to
757 # proceed and then perform the blocking call to accept
758 self.serverExplicitReady()
759 conn, addr = self.serv.accept()
760 self.cli_conn = conn
761
762 def tearDown(self):
763 self.cli_conn.close()

Callers

nothing calls this directly

Calls 4

superClass · 0.85
serverExplicitReadyMethod · 0.80
setUpMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected