Lines Matching refs:async
31 async def test_taskgroup_01(self):
33 async def foo1():
37 async def foo2():
41 async with taskgroups.TaskGroup() as g:
48 async def test_taskgroup_02(self):
50 async def foo1():
54 async def foo2():
58 async with taskgroups.TaskGroup() as g:
66 async def test_taskgroup_03(self):
68 async def foo1():
72 async def foo2():
76 async with taskgroups.TaskGroup() as g:
88 async def test_taskgroup_04(self):
94 async def foo1():
98 async def foo2():
107 async def runner():
110 async with taskgroups.TaskGroup() as g:
125 async def test_cancel_children_on_child_error(self):
133 async def foo1():
137 async def foo2():
146 async def runner():
149 async with taskgroups.TaskGroup() as g:
172 async def test_cancellation(self):
176 async def foo():
184 async def runner():
185 async with taskgroups.TaskGroup() as g:
199 async def test_taskgroup_07(self):
203 async def foo():
211 async def runner():
213 async with taskgroups.TaskGroup() as g:
233 async def test_taskgroup_08(self):
235 async def foo():
241 async def runner():
242 async with taskgroups.TaskGroup() as g:
257 async def test_taskgroup_09(self):
261 async def foo1():
265 async def foo2():
269 async def runner():
271 async with taskgroups.TaskGroup() as g:
287 async def test_taskgroup_10(self):
291 async def foo1():
295 async def foo2():
299 async def runner():
301 async with taskgroups.TaskGroup() as g:
316 async def test_taskgroup_11(self):
318 async def foo():
324 async def runner():
325 async with taskgroups.TaskGroup():
326 async with taskgroups.TaskGroup() as g2:
343 async def test_taskgroup_12(self):
345 async def foo():
351 async def runner():
352 async with taskgroups.TaskGroup() as g1:
355 async with taskgroups.TaskGroup() as g2:
372 async def test_taskgroup_13(self):
374 async def crash_after(t):
378 async def runner():
379 async with taskgroups.TaskGroup() as g1:
382 async with taskgroups.TaskGroup() as g2:
391 async def test_taskgroup_14(self):
393 async def crash_after(t):
397 async def runner():
398 async with taskgroups.TaskGroup() as g1:
401 async with taskgroups.TaskGroup() as g2:
411 async def test_taskgroup_15(self):
413 async def crash_soon():
417 async def runner():
418 async with taskgroups.TaskGroup() as g1:
435 async def test_taskgroup_16(self):
437 async def crash_soon():
441 async def nested_runner():
442 async with taskgroups.TaskGroup() as g1:
450 async def runner():
463 async def test_taskgroup_17(self):
466 async def runner():
468 async with taskgroups.TaskGroup():
485 async def test_taskgroup_18(self):
488 async def runner():
490 async with taskgroups.TaskGroup():
514 async def test_taskgroup_19(self):
515 async def crash_soon():
519 async def nested():
525 async def runner():
526 async with taskgroups.TaskGroup() as g:
538 async def test_taskgroup_20(self):
539 async def crash_soon():
543 async def nested():
549 async def runner():
550 async with taskgroups.TaskGroup() as g:
557 async def test_taskgroup_20a(self):
558 async def crash_soon():
562 async def nested():
568 async def runner():
569 async with taskgroups.TaskGroup() as g:
580 async def _test_taskgroup_21(self):
588 async def crash_soon():
592 async def nested():
598 async def runner():
599 async with taskgroups.TaskGroup() as g:
606 async def test_taskgroup_21a(self):
608 async def crash_soon():
612 async def nested():
618 async def runner():
619 async with taskgroups.TaskGroup() as g:
628 async def test_taskgroup_22(self):
630 async def foo1():
634 async def foo2():
638 async def runner():
639 async with taskgroups.TaskGroup() as g:
650 async def test_taskgroup_23(self):
652 async def do_job(delay):
655 async with taskgroups.TaskGroup() as g:
664 async def test_taskgroup_24(self):
666 async def root(g):
671 async def coro1(delay):
674 async def runner():
675 async with taskgroups.TaskGroup() as g:
680 async def test_taskgroup_25(self):
683 async def hydra(g):
690 async def hercules():
695 async def runner():
696 async with taskgroups.TaskGroup() as g:
706 async def test_taskgroup_task_name(self):
707 async def coro():
709 async with taskgroups.TaskGroup() as g:
713 async def test_taskgroup_task_context(self):
716 async def coro(val):
720 async with taskgroups.TaskGroup() as g:
730 async def test_taskgroup_no_create_task_after_failure(self):
731 async def coro1():
734 async def coro2(g):
745 async with taskgroups.TaskGroup() as g:
751 async def test_taskgroup_context_manager_exit_raises(self):
756 async def raise_exc():
760 async def database():
766 async def main():
769 async with taskgroups.TaskGroup() as tg:
770 async with database():