void () { doTest("str | Awaitable[str] | None", """ from typing import Awaitable, Optional, TypeVar, Union T = TypeVar('T') Input = Union[T, Awaitable[T]] def f(expr: Optional[Input[str]]): pass """); }