void () { runWithLanguageLevel( LanguageLevel.PYTHON36, () -> doTestByText(""" from typing_extensions import Literal def f(a: Literal["b"]): pass f(a='b') f(<warning descr="Expected type 'Literal[\\"b\\"]', got 'Literal['c']' instead">a='c'</warning>)""") ); }