void () { doTest("int", """ async def asyncgen(): yield 10 async def run(): {expr async for expr in asyncgen()} """); doTest("int", """ async def asyncgen(): yield 10 async def run(): [expr async for expr in asyncgen()] """); doTest("int", """ async def asyncgen(): yield 10 async def run(): {expr: expr ** 2 async for expr in asyncgen()} """); doTest("int", """ async def asyncgen(): yield 10 async def run(): (expr async for expr in asyncgen()) """); doTest("int", """ async def asyncgen(): yield 10 async def run(): list(expr async for expr in asyncgen()) """); doTest("int", """ async def asyncgen(): yield 10 async def run(): dataset = {data async for expr in asyncgen() async for data in asyncgen() if check(data)} """); doTest("int", """ async def asyncgen(): yield 10 async def run(): dataset = {expr async for line in asyncgen() async for expr in asyncgen() if check(expr)} """); }