void () { runWithLanguageLevel(LanguageLevel.PYTHON312, () -> doTestByText(""" from typing import Protocol class ClassA[T](Protocol[<warning descr="Extending 'Protocol' does not need parameterization in classes with a type parameter list">T</warning>]): ... """)); }