void () { final CommonCodeStyleSettings.IndentOptions indentOptions = getCodeStyleSettings().getIndentOptions(PythonFileType.INSTANCE); indentOptions.USE_TAB_CHARACTER = true; try { doTest(); } finally { indentOptions.USE_TAB_CHARACTER = false; } }