From 9e2f7cf118a73dec2a53fc561eea3ca2ef889bb1 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Thu, 5 May 2011 15:42:36 +0400 Subject: [PATCH] fixed test data for doc stub intention --- .../com/jetbrains/python/actions/RemoveDecoratorQuickFix.java | 2 +- python/testData/intentions/afterDocStub.py | 3 ++- python/testData/intentions/beforeDocStub.py | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/python/src/com/jetbrains/python/actions/RemoveDecoratorQuickFix.java b/python/src/com/jetbrains/python/actions/RemoveDecoratorQuickFix.java index ca605c59b364..63986ddeb6a5 100644 --- a/python/src/com/jetbrains/python/actions/RemoveDecoratorQuickFix.java +++ b/python/src/com/jetbrains/python/actions/RemoveDecoratorQuickFix.java @@ -10,7 +10,7 @@ import org.jetbrains.annotations.NotNull; /** * User: catherine * - * QuickFix to remove redundant argument equal default + * QuickFix to remove redundant decorator */ public class RemoveDecoratorQuickFix implements LocalQuickFix { @NotNull diff --git a/python/testData/intentions/afterDocStub.py b/python/testData/intentions/afterDocStub.py index 30951fb20e12..3cc752bc60e5 100644 --- a/python/testData/intentions/afterDocStub.py +++ b/python/testData/intentions/afterDocStub.py @@ -5,4 +5,5 @@ def foo(a, b): :param b: :return: """ - pass \ No newline at end of file + if True: + return \ No newline at end of file diff --git a/python/testData/intentions/beforeDocStub.py b/python/testData/intentions/beforeDocStub.py index ec6c73751860..601eea863368 100644 --- a/python/testData/intentions/beforeDocStub.py +++ b/python/testData/intentions/beforeDocStub.py @@ -1,2 +1,3 @@ def foo(a, b): - pass \ No newline at end of file + if True: + return \ No newline at end of file