void () { doTestByText(""" from typing_extensions import TypedDict, Required, NotRequired class A(TypedDict): x: <warning descr="Key cannot be required and not required at the same time">Required[NotRequired[int]]</warning> y: Required[int] z: NotRequired[int] A = TypedDict('A', {'x': <warning descr="Key cannot be required and not required at the same time">Required[NotRequired[int]]</warning>, 'y': NotRequired[int]})"""); }