MCPcopy Index your code
hub / github.com/RustPython/RustPython / queue_full

Function queue_full

Lib/test/_test_multiprocessing.py:1033–1037  ·  view source on GitHub ↗
(q, maxsize)

Source from the content-addressed store, hash-verified

1031 return q.qsize() == 0
1032
1033def queue_full(q, maxsize):
1034 if hasattr(q, 'full'):
1035 return q.full()
1036 else:
1037 return q.qsize() == maxsize
1038
1039
1040class _TestQueue(BaseTestCase):

Callers 1

test_putMethod · 0.85

Calls 3

hasattrFunction · 0.85
fullMethod · 0.45
qsizeMethod · 0.45

Tested by

no test coverage detected