void () { // PY-980 myFixture.configureByFile("/editing/uncommentWithSpace.before.py"); myFixture.getEditor().getCaretModel().moveToLogicalPosition(new LogicalPosition(0, 1)); PlatformTestUtil.invokeNamedAction(IdeActions.ACTION_COMMENT_LINE); myFixture.checkResultByFile("/editing/uncommentWithSpace.after.py", true); }