void () { runWithLanguageLevel(LanguageLevel.PYTHON312, () -> doTestByText(""" class ClassA[T]((<error descr="Assignment expressions are not allowed inside declarations of classes, functions and type aliases having type parameter list">x := Sequence[T]</error>)): ... """)); }