void () { doTestByText(""" from typing import TypeAlias class A: pass \s assert isinstance(A(), <error descr="'TypeAlias' cannot be used with instance and class checks">TypeAlias</error>) assert issubclass(A, <error descr="'TypeAlias' cannot be used with instance and class checks">TypeAlias</error>) B = TypeAlias assert isinstance(A(), <error descr="'TypeAlias' cannot be used with instance and class checks">B</error>) assert issubclass(A, <error descr="'TypeAlias' cannot be used with instance and class checks">B</error>)"""); }