void () { // PY-6095 doTestByText("bar = {'a': '1'}\n" + "print ba<caret>['a']"); myFixture.finishLookup(Lookup.REPLACE_SELECT_CHAR); myFixture.checkResult("bar = {'a': '1'}\n" + "print bar<caret>['a']"); }