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:806–808 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
804
host = HOST
805
806
def
setUp(self):
807
super().setUp()
808
self.port = self.serv_addr[1]
809
810
def
bindSock(self, sock):
811
socket_helper.bind_port(sock, host=self.host)
Callers
nothing calls this directly
Calls
2
super
Class · 0.85
setUp
Method · 0.45
Tested by
no test coverage detected