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