void () { doTest("Coroutine[Any, Any, Generator[int, Any, Any]]", """ from typing import Generator async def coroutine() -> Generator[int, Any, Any]: def gen(): yield 42 \s return gen() \s expr = coroutine()"""); }