void () { doTestByText(""" from typing import TypeVar, List T = TypeVar("T") class A: pass assert isinstance(A(), List) B = List assert issubclass(A, B) assert isinstance(A(), <error descr="Parameterized generics cannot be used with instance and class checks">List[T]</error>) assert issubclass(A, <error descr="Parameterized generics cannot be used with instance and class checks">B[T]</error>) C = B[T] assert issubclass(A, <error descr="Parameterized generics cannot be used with instance and class checks">C</error>)"""); }