Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ mp_queue_test
Function
mp_queue_test
test/test_box.py:35–43 ·
view source on GitHub ↗
(q)
Source
from the content-addressed store, hash-verified
33
34
35
def
mp_queue_test(q):
36
bx = q.get()
37
try
:
38
assert isinstance(bx, Box)
39
assert bx.a == 4
40
except
AssertionError:
41
q.put(False)
42
else
:
43
q.put(True)
44
45
46
class
TestBox:
Callers
nothing calls this directly
Calls
1
get
Method · 0.80
Tested by
no test coverage detected