void () { runWithLanguageLevel(LanguageLevel.getLatest(), () -> doTestByText(""" from typing import ClassVar, TypeVar, Generic T1 = TypeVar('T1') T2 = TypeVar('T2') T3 = TypeVar('T3') class MyType(Generic[T1, T2]): pass class A: a: ClassVar[tuple[MyType[int, <warning descr="'ClassVar' parameter cannot include type variables">T3</warning>], <warning descr="'ClassVar' parameter cannot include type variables">T2</warning>]] b = None <warning descr="'ClassVar' parameter cannot include type variables"># type: ClassVar[tuple[MyType[int, T3], T2]]</warning>""")); }