void () { doTestByText(""" from typing import Type class A: pass assert isinstance(A(), Type) B = Type assert issubclass(A, B) assert isinstance(A(), <error descr="Parameterized generics cannot be used with instance and class checks">Type[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>)"""); }