void () { doTestByText(""" from typing_extensions import Literal a = undefined # type: Literal["abc"] b = undefined # type: Literal[u"abc"] def foo1(p1): # type: (Literal["abc"]) -> None pass foo1(a) foo1(<warning descr="Expected type 'Literal[\\"abc\\"]', got 'Literal[u\\"abc\\"]' instead">b</warning>) def foo2(p1): # type: (Literal[u"abc"]) -> None pass foo2(<warning descr="Expected type 'Literal[u\\"abc\\"]', got 'Literal[\\"abc\\"]' instead">a</warning>) foo2(b) def foo3(p1): # type: (bytes) -> None pass foo3(a) foo3(<warning descr="Expected type 'str', got 'Literal[u\\"abc\\"]' instead">b</warning>) def foo4(p1): # type: (unicode) -> None pass foo4(a) foo4(b) """); }