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

Function mp_queue_test

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected