X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6dbb657681b82268f66bd788991a4daa737577dc..e7b312fb434483e0332643ae1e9736257f4f60c1:/tests/class_blank_parentheses.py?ds=sidebyside diff --git a/tests/class_blank_parentheses.py b/tests/class_blank_parentheses.py index b4dcb20..1a5721a 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 @@ -59,13 +48,11 @@ def public_func_with_blank_parentheses(): def class_under_the_func_with_blank_parentheses(): - class InsideFunc: pass class NormalClass: - def func_for_testing(self, first, second): sum = first + second return sum