diff --git a/python/src/com/jetbrains/python/codeInsight/testIntegration/PyTestCreator.java b/python/src/com/jetbrains/python/codeInsight/testIntegration/PyTestCreator.java index d4b0c112b8fb..2e1c623cc568 100644 --- a/python/src/com/jetbrains/python/codeInsight/testIntegration/PyTestCreator.java +++ b/python/src/com/jetbrains/python/codeInsight/testIntegration/PyTestCreator.java @@ -80,7 +80,7 @@ public class PyTestCreator implements TestCreator { fileText.append("pass\n"); for (String method : methods) { - fileText.append("def ").append(method).append("(self):\n self.fail()\n\n\t"); + fileText.append("def ").append(method).append("(self):\n\tself.fail()\n\n\t"); } PsiFile psiFile = PyUtil.getOrCreateFile(