void () { doTestByText(""" from m1 import D class A: pass assert isinstance(A(), D) B = D assert issubclass(A, B) assert isinstance(A(), D[int]) assert issubclass(A, B[int]) C = B[int] assert issubclass(A, C)"""); }