def test_ctor_loop(self):
    loop = mock.Mock()
    q = asyncio.Queue(loop=loop)
    self.assertIs(q._loop, loop)
    q = asyncio.Queue(loop=self.loop)
    self.assertIs(q._loop, self.loop)
def test_ctor_loop(self):
    loop = mock.Mock()
    q = asyncio.Queue(loop=loop)
    self.assertIs(q._loop, loop)
    q = asyncio.Queue(loop=self.loop)
    self.assertIs(q._loop, self.loop)