From 3e21a1f28231d1b1dec93aa8eb2ae52bbd3c7c2c Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Mon, 3 Feb 2014 19:02:41 +0400 Subject: [PATCH] Fix test data for PEP8. --- python/testData/refactoring/extractmethod/Comment2.after.py | 2 +- python/testData/refactoring/extractmethod/ElseBody.after.py | 2 +- python/testSrc/com/jetbrains/python/PyFormatterTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/testData/refactoring/extractmethod/Comment2.after.py b/python/testData/refactoring/extractmethod/Comment2.after.py index 5e5fdc3c6a8c..ddd9c9ec91ae 100644 --- a/python/testData/refactoring/extractmethod/Comment2.after.py +++ b/python/testData/refactoring/extractmethod/Comment2.after.py @@ -1,6 +1,6 @@ class Foo(): def baz(): - tmp = "!" #try to extract this assignmet, either with or without this comment + tmp = "!" # try to extract this assignmet, either with or without this comment baz() diff --git a/python/testData/refactoring/extractmethod/ElseBody.after.py b/python/testData/refactoring/extractmethod/ElseBody.after.py index 57b5fa011715..24e387dd3633 100644 --- a/python/testData/refactoring/extractmethod/ElseBody.after.py +++ b/python/testData/refactoring/extractmethod/ElseBody.after.py @@ -1,5 +1,5 @@ def baz(f_new): - length = len(f_new.readlines()) #<---extract something from here + length = len(f_new.readlines()) # <---extract something from here print("hi from else") diff --git a/python/testSrc/com/jetbrains/python/PyFormatterTest.java b/python/testSrc/com/jetbrains/python/PyFormatterTest.java index e393ed4dad74..f59fd49b2d03 100644 --- a/python/testSrc/com/jetbrains/python/PyFormatterTest.java +++ b/python/testSrc/com/jetbrains/python/PyFormatterTest.java @@ -251,7 +251,7 @@ public class PyFormatterTest extends PyTestCase { " desired_response_parameters,\n" + " inverse_filter_length, \n" + " observed_impulse_response):\n" + - " # Extract from here to ...\n" + + " # Extract from here to ...\n" + " desired_impulse_response = {'dirac, 'gaussian', logistic_derivative'}\n" + "return desired, o";