diff --git a/python/src/com/jetbrains/python/codeInsight/testIntegration/PyTestGenerator.java b/python/src/com/jetbrains/python/codeInsight/testIntegration/PyTestGenerator.java index 18dda4f12f58..bce691bdafd2 100644 --- a/python/src/com/jetbrains/python/codeInsight/testIntegration/PyTestGenerator.java +++ b/python/src/com/jetbrains/python/codeInsight/testIntegration/PyTestGenerator.java @@ -41,8 +41,9 @@ public class PyTestGenerator { if (methods.size() == 0) fileText.append("pass\n"); - for (String method : methods) - fileText.append("def ").append(method).append("(self):\n self.fail()\n\n"); + for (String method : methods) { + fileText.append("def ").append(method).append("(self):\n self.fail()\n\n "); + } PsiFile psiFile = PyUtil.getOrCreateFile( dialog.getTargetDir() + "/" + fileName, project);