void () { runWithLanguageLevel( LanguageLevel.PYTHON36, () -> doTestByText(""" from typing_extensions import Final a: Final[int] = 1 <warning descr="'a' is 'Final' and could not be reassigned">a</warning> = 2 b: Final[str] = "3" <warning descr="'b' is 'Final' and could not be reassigned">b</warning> += "4" c: Final[int] = 5 <warning descr="'c' is 'Final' and could not be reassigned">c</warning> += 6""") ); }