MCPcopy Create free account
hub / github.com/cdgriffith/Box / mp_queue_test

Function mp_queue_test

test/test_box.py:41–49  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

39
40
41def mp_queue_test(q):
42 bx = q.get()
43 try:
44 assert isinstance(bx, Box)
45 assert bx.a == 4
46 except AssertionError:
47 q.put(False)
48 else:
49 q.put(True)
50
51
52class TestBox:

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected