diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-06-30 23:05:31 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-06-30 23:13:20 +0200 |
commit | 69404bbf1a513381fd90e8f0c777d64b7923e429 (patch) | |
tree | 2de8172d6dee10fe1232a82d5c465d5258c16e69 | |
parent | 634cba69712afd172ba7fb5b375b0e41ad047425 (diff) | |
download | pylint-git-69404bbf1a513381fd90e8f0c777d64b7923e429.tar.gz |
[unused-private-member] Add some more use case in tests
See https://github.com/PyCQA/pylint/pull/4642\#discussion_r661807190
-rw-r--r-- | tests/functional/u/unused/unused_private_member.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/functional/u/unused/unused_private_member.py b/tests/functional/u/unused/unused_private_member.py index 35c5801e4..9fb02cf92 100644 --- a/tests/functional/u/unused/unused_private_member.py +++ b/tests/functional/u/unused/unused_private_member.py @@ -73,7 +73,17 @@ class Bla: def __init__(self): type(self).__a() + self.__b() + Bla.__c() @classmethod def __a(cls): pass + + @classmethod + def __b(cls): + pass + + @classmethod + def __c(cls): + pass |