void () { doTest("MyClass[T]", """ from typing import TypeVar, Generic, Type T = TypeVar("T") class MyClass(Generic[T]): def __init__(self, type: Type[T]): pass def f(x: Type[T]): expr = MyClass(x) """); }