void () { // PY-3687 assertContainsElements(doTestByText("L = [x fo<caret>]"), "for"); assertContainsElements(doTestByText("L = [x <caret>]"), "for"); assertContainsElements(doTestByText("L = [x <caret> x in y]"), "for"); assertDoesntContain(doTestByText("L = [<caret>]"), "for"); assertDoesntContain(doTestByText("L = [x for x <caret>]"), "for"); assertDoesntContain(doTestByText("L = [x for x <caret> in y]"), "for"); }