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

Method setUp

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

Source from the content-addressed store, hash-verified

690 """
691
692 def setUp(self):
693 self.serv = self.newSocket()
694 self.addCleanup(self.close_server)
695 self.bindServer()
696
697 def close_server(self):
698 self.serv.close()

Callers

nothing calls this directly

Calls 3

bindServerMethod · 0.95
addCleanupMethod · 0.80
newSocketMethod · 0.45

Tested by

no test coverage detected