void () { final String test1 = """ from typing import TypedDict class A(TypedDict): x: int y: int a = A(x=42, y=1) b = a['<caret>']"""; runWithLanguageLevel( LanguageLevel.getLatest(), () -> { myFixture.configureByText(PythonFileType.INSTANCE, test1); myFixture.completeBasic(); myFixture.checkResult(test1); assertContainsElements(myFixture.getLookupElementStrings(), "'x'", "'y'"); } ); }