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