void () { doTest("list[int]", """ from typing import Generic, TypeVar T = TypeVar('T') class Box(Generic[T]): def get(self) -> T: pass class ListBox(Box[list[T]]): pass xs: ListBox[int] = ... expr = xs.get() """); }