diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-09 22:00:12 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-03-14 19:48:30 +0100 |
commit | bac894e11a423cca091a03ae01e2b08e9988dec7 (patch) | |
tree | b8868e6bc71b1cdf88a851ebb604c2e9fbd8173b /tests/input | |
parent | aff0699503421c123d72245abf7440fc96dd01f2 (diff) | |
download | pylint-git-bac894e11a423cca091a03ae01e2b08e9988dec7.tar.gz |
Migrate func_first_arg.py to new functional tests
Diffstat (limited to 'tests/input')
-rw-r--r-- | tests/input/func_first_arg.py | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/tests/input/func_first_arg.py b/tests/input/func_first_arg.py deleted file mode 100644 index 7df2fd20c..000000000 --- a/tests/input/func_first_arg.py +++ /dev/null @@ -1,42 +0,0 @@ -# pylint: disable=C0111, W0232, useless-object-inheritance -"""check for methods first arguments -""" - -__revision__ = 0 - - -class Obj(object): - # C0202, classmethod - def __new__(something): - pass - - # C0202, classmethod - def class1(cls): - pass - class1 = classmethod(class1) - - def class2(other): - pass - class2 = classmethod(class2) - - -class Meta(type): - # C0204, metaclass __new__ - def __new__(other, name, bases, dct): - pass - - # C0203, metaclass method - def method1(cls): - pass - - def method2(other): - pass - - # C0205, metaclass classmethod - def class1(cls): - pass - class1 = classmethod(class1) - - def class2(other): - pass - class2 = classmethod(class2) |