Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
bindServer
Method · 0.95
addCleanup
Method · 0.80
newSocket
Method · 0.45
Tested by
no test coverage detected