Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setUp
Method
setUp
Lib/test/test_queue.py:95–97 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
93
94
class
BaseQueueTestMixin(BlockingTestMixin):
95
def
setUp(self):
96
self.cum = 0
97
self.cumlock = threading.Lock()
98
99
def
basic_queue_test(self, q):
100
if
q.qsize():
Callers
nothing calls this directly
Calls
1
Lock
Method · 0.80
Tested by
no test coverage detected