Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get
Method
get
Lib/test/test_queue.py:641–645 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
639
640
def
test_shutdown_pending_get(self):
641
def
get():
642
try
:
643
results.append(q.get())
644
except
Exception
as
e:
645
results.append(e)
646
647
q = self.type2test()
648
results = []
Callers
15
basic_queue_test
Method · 0.45
worker
Method · 0.45
test_negative_timeout_raises_exception
Method · 0.45
test_shutdown_empty
Method · 0.45
test_shutdown_nonempty
Method · 0.45
test_shutdown_immediate
Method · 0.45
_shutdown_all_methods_in_one_thread
Method · 0.45
_read_msg_thread
Method · 0.45
_get
Method · 0.45
_get_task_done
Method · 0.45
_shutdown_put_join
Method · 0.45
failing_queue_test
Method · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected