MCPcopy Index your code
hub / github.com/python/cpython / test_full

Method test_full

Lib/test/test_asyncio/test_queues.py:75–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

73 self.assertTrue(q.empty())
74
75 async def test_full(self):
76 q = asyncio.Queue()
77 self.assertFalse(q.full())
78
79 q = asyncio.Queue(maxsize=1)
80 await q.put(1)
81 self.assertTrue(q.full())
82
83 async def test_order(self):
84 q = asyncio.Queue()

Callers

nothing calls this directly

Calls 5

fullMethod · 0.95
putMethod · 0.95
QueueMethod · 0.80
assertFalseMethod · 0.80
assertTrueMethod · 0.80

Tested by

no test coverage detected