X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/6dbb657681b82268f66bd788991a4daa737577dc..f3ea58cbc7750edd154bf4f97272c6ecf8f77d13:/tests/class_blank_parentheses.py?ds=inline 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