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