void () { doTestByText(""" from typing import Generic, TypeVar class A1(Generic[<error descr="Parameters to 'Generic[...]' must all be type variables">0</error>]): pass class B1(Generic[<error descr="Parameters to 'Generic[...]' must all be type variables">int</error>]): pass class A2(Generic[<error descr="Parameters to 'Generic[...]' must all be type variables">0</error>, <error descr="Parameters to 'Generic[...]' must all be type variables">0</error>]): pass class B2(Generic[<error descr="Parameters to 'Generic[...]' must all be type variables">int</error>, <error descr="Parameters to 'Generic[...]' must all be type variables">int</error>]): pass null = 0 class A3(Generic[<error descr="Parameters to 'Generic[...]' must all be type variables">null</error>]): pass my_int = int class B3(Generic[<error descr="Parameters to 'Generic[...]' must all be type variables">my_int</error>]): pass T = TypeVar('T') S = TypeVar('S') class C1(Generic[T]): pass class C2(Generic[T, S]): pass my_t = T class C3(Generic[my_t]): pass class D1: pass class D2: pass class E1(Generic[<error descr="Parameters to 'Generic[...]' must all be type variables">D1</error>]): pass class F1(Generic[<error descr="Parameters to 'Generic[...]' must all be type variables">D1</error>, <error descr="Parameters to 'Generic[...]' must all be type variables">D2</error>]): pass my_d = D1 class E2(Generic[<error descr="Parameters to 'Generic[...]' must all be type variables">my_d</error>]): pass"""); }