void () { doTestByText(""" from typing import TypeVar, List T1 = TypeVar('T1', int, str) T2 = TypeVar('T2', int, <warning descr="Constraints cannot be parametrized by type variables">List[T1]</warning>) T3 = TypeVar('T3', bound=<warning descr="Constraints cannot be parametrized by type variables">List[T1]</warning>) T4 = TypeVar('T4', int, List[int]) T5 = TypeVar('T5', bound=List[int]) my_int = int my_str = str T11 = TypeVar('T11', my_int, my_str) my_list_t1 = List[T1] T22 = TypeVar('T22', int, <warning descr="Constraints cannot be parametrized by type variables">my_list_t1</warning>) T33 = TypeVar('T33', bound=<warning descr="Constraints cannot be parametrized by type variables">my_list_t1</warning>) my_list_int = List[int] T44 = TypeVar('T44', int, my_list_int) T55 = TypeVar('T55', bound=my_list_int)"""); }