void () { doTestByText(""" from typing import Generic, TypeVar T = TypeVar('T') class Box(Generic[T]): def __init__(self, value: T) -> None: pass class StrBox(Box[str]): pass StrBox(<warning descr="Expected type 'str' (matched generic type 'T'), got 'int' instead">42</warning>) """); }