void () { runWithLanguageLevel(LanguageLevel.getLatest(), () -> doTestByText(""" from typing import ClassVar class Cls: def foo(self): x: <warning descr="'ClassVar' cannot be used in annotations for local variables">ClassVar</warning> = "str\"""")); }