void () { doTestByText(""" from typing import Callable class A: pass assert isinstance(A(), Callable) B = Callable assert issubclass(A, B) assert isinstance(A(), <error descr="Parameterized generics cannot be used with instance and class checks">Callable[..., str]</error>) assert issubclass(A, <error descr="Parameterized generics cannot be used with instance and class checks">B[..., str]</error>) C = B[..., str] assert issubclass(A, <error descr="Parameterized generics cannot be used with instance and class checks">C</error>)"""); }