void () { final String test3 = """ from typing import TypedDict class Movie(TypedDict, total=False): name: str year: int m: Movie = {} m['<caret>']"""; runWithLanguageLevel( LanguageLevel.getLatest(), () -> { myFixture.configureByText(PythonFileType.INSTANCE, test3); myFixture.completeBasic(); myFixture.checkResult(test3); assertContainsElements(myFixture.getLookupElementStrings(), "'name'", "'year'"); } ); }