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";