def test_full(self):
    q = asyncio.Queue(loop=self.loop)
    self.assertFalse(q.full())
    q = asyncio.Queue(maxsize=1, loop=self.loop)
    q.put_nowait(1)
    self.assertTrue(q.full())
def test_full(self):
    q = asyncio.Queue(loop=self.loop)
    self.assertFalse(q.full())
    q = asyncio.Queue(maxsize=1, loop=self.loop)
    q.put_nowait(1)
    self.assertTrue(q.full())