void () { doTestByText(""" from typing import Generic class A(<error descr="Cannot inherit from plain 'Generic'">Generic</error>): pass B = Generic class C(<error descr="Cannot inherit from plain 'Generic'">B</error>): pass"""); }