void () { doTestByText(""" from typing_extensions import Required, NotRequired x: <warning descr="'Required' can be used only in a TypedDict definition">Required</warning>[int] y = print(<warning descr="'NotRequired' can be used only in a TypedDict definition">NotRequired</warning>[int]) class B: a: <warning descr="'Required' can be used only in a TypedDict definition">Required</warning>[int]"""); }