Lines Matching refs:await
136 await awaitable()
139 await awaitable()
141 await awaitable()
148 await awaitable()
150 await awaitable()
174 await awaitable()
176 await awaitable(throw=True)
184 await awaitable()
257 await awaitable()
259 await awaitable()
281 await awaitable()
286 await awaitable()
341 await asyncio.sleep(0.01, loop=self.loop)
343 await asyncio.sleep(0.01, loop=self.loop)
353 await asyncio.sleep(0.01, loop=self.loop)
367 await asyncio.sleep(0.01, loop=loop)
376 await asyncio.sleep(0.01, loop=self.loop)
382 await asyncio.sleep(0.01, loop=self.loop)
388 self.assertEqual(await it.__anext__(), 1)
389 self.assertEqual(await it.__anext__(), 2)
390 self.assertEqual(await it.__anext__(), 3)
391 self.assertEqual(await it.__anext__(), 4)
393 await it.__anext__()
395 await it.__anext__()
400 self.assertEqual(await it.__anext__(), 1)
401 self.assertEqual(await it.__anext__(), 2)
408 self.assertEqual(await it.__anext__(), 4)
410 await it.__anext__()
446 await it.__anext__()
477 await g.asend(None)
479 await g.asend(None)
495 self.assertEqual(await it.__anext__(), (1,))
500 await it.__anext__()
514 v = await it.__anext__()
523 await it.__anext__()
533 await asyncio.sleep(0.01, loop=self.loop)
539 await it.__anext__()
540 await gen.aclose()
556 await asyncio.sleep(0.01, loop=self.loop)
557 await asyncio.sleep(0.01, loop=self.loop)
564 await it.__anext__()
565 await gen.aclose()
579 await fut
583 await asyncio.sleep(0.01, loop=self.loop)
584 await asyncio.sleep(0.01, loop=self.loop)
591 self.assertEqual(await it.__anext__(), 1)
593 await asyncio.sleep(0.01, loop=self.loop)
594 await gen.aclose()
614 await asyncio.sleep(0.01, loop=self.loop)
615 await asyncio.sleep(0.01, loop=self.loop)
620 await g.__anext__()
621 await g.__anext__()
624 await asyncio.sleep(0.1, loop=self.loop)
655 await g.asend(None)
656 await g.aclose()
691 await g.asend(None)
693 await g.aclose()
715 await asyncio.sleep(0.01, loop=self.loop)
717 await asyncio.sleep(0.01, loop=self.loop)
719 await asyncio.sleep(0.01, loop=self.loop)
722 await asyncio.sleep(0.01, loop=self.loop)
723 await asyncio.sleep(0.01, loop=self.loop)
729 v = await g.asend(None)
732 v = await g.asend(100)
736 await g.asend(None)
745 await asyncio.sleep(delay, loop=self.loop)
751 await asyncio.sleep(0.01, loop=self.loop)
753 await sleep_n_crash(0.01)
757 await asyncio.sleep(0.01, loop=self.loop)
758 await asyncio.sleep(0.01, loop=self.loop)
764 v = await g.asend(None)
767 await g.asend(100)
780 return await fut
785 await asyncio.sleep(0.01, loop=self.loop)
787 await sleep_n_crash(0.01)
791 await asyncio.sleep(0.01, loop=self.loop)
792 await asyncio.sleep(0.01, loop=self.loop)
798 v = await g.asend(None)
801 await g.asend(100)
831 await asyncio.sleep(0.01, loop=self.loop)
836 await asyncio.sleep(0.01, loop=self.loop)
838 await asyncio.sleep(0.01, loop=self.loop)
841 await asyncio.sleep(0.01, loop=self.loop)
842 await asyncio.sleep(0.01, loop=self.loop)
848 v = await g.asend(None)
851 v = await g.athrow(FooEr)
855 await g.asend(None)
870 return await fut
875 await asyncio.sleep(0.01, loop=self.loop)
879 await sleep_n_crash(0.01)
881 await asyncio.sleep(0.01, loop=self.loop)
884 await asyncio.sleep(0.01, loop=self.loop)
885 await asyncio.sleep(0.01, loop=self.loop)
891 v = await g.asend(None)
895 await g.athrow(FooEr)
933 await g.asend(None)
935 await g.athrow(ValueError)
950 v = await g.asend(None)
952 v = await g.athrow(ZeroDivisionError)
955 await g.asend(None)
968 v = await g.asend(None)
970 v = await g.athrow(ZeroDivisionError)
974 await g.asend(None)
984 await asyncio.sleep(timeout, loop=self.loop)
987 await asyncio.sleep(0, loop=self.loop)
1019 await asyncio.sleep(timeout, loop=self.loop)
1043 await asyncio.sleep(0.01, loop=self.loop)
1058 await asyncio.sleep(0.01, loop=self.loop)
1063 return (i * 2 for i in range(n) if await wrap(i))