void () { runWithLanguageLevel(LanguageLevel.PYTHON312, () -> doTestByText(""" from typing import TypeVar, Generic class ClassA[T](<warning descr="Classes with an explicit type parameter list should not extend 'Generic'">Generic[T]</warning>): ...\s """)); }