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