void () { final PyCodeInsightSettings codeInsightSettings = PyCodeInsightSettings.getInstance(); final boolean oldInsertTypeDocStub = codeInsightSettings.INSERT_TYPE_DOCSTUB; codeInsightSettings.INSERT_TYPE_DOCSTUB = true; try { doDocStringTypingTest(" ", DocStringFormat.GOOGLE); } finally { codeInsightSettings.INSERT_TYPE_DOCSTUB = oldInsertTypeDocStub; } }