X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6dbb657681b82268f66bd788991a4daa737577dc..e818260f1a223929d8f2056f484b73eaa8687622:/tests/class_blank_parentheses.py diff --git a/tests/class_blank_parentheses.py b/tests/class_blank_parentheses.py index b4dcb20..d586cac 100644 --- a/tests/class_blank_parentheses.py +++ b/tests/class_blank_parentheses.py @@ -1,15 +1,10 @@ class SimpleClassWithBlankParentheses(): pass - - -class ClassWithSpaceParentheses(): +class ClassWithSpaceParentheses ( ): first_test_data = 90 second_test_data = 100 - def test_func(self): return None - - class ClassWithEmptyFunc(object): def func_with_blank_parentheses(): @@ -18,16 +13,11 @@ class ClassWithEmptyFunc(object): def public_func_with_blank_parentheses(): return None - - def class_under_the_func_with_blank_parentheses(): - class InsideFunc(): pass - - -class NormalClass(): - +class NormalClass ( +): def func_for_testing(self, first, second): sum = first + second return sum @@ -49,7 +39,6 @@ class ClassWithSpaceParentheses: class ClassWithEmptyFunc(object): - def func_with_blank_parentheses(): return 5 @@ -65,7 +54,6 @@ def class_under_the_func_with_blank_parentheses(): class NormalClass: - def func_for_testing(self, first, second): sum = first + second return sum