@asyncio.coroutine
def queue_put():
    (yield from q.put(1))
    (yield from q.put(2))
    self.assertTrue(q.full())
@asyncio.coroutine
def queue_put():
    (yield from q.put(1))
    (yield from q.put(2))
    self.assertTrue(q.full())