diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-04-20 20:28:09 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-04-20 21:58:08 +0200 |
commit | e7180d432f5014cbb4923627ab8cdb0a8118aaab (patch) | |
tree | 025e20509dc207c7d621935f1d13c6e7d53ef0b4 | |
parent | a8dd162566057828a8f2c08b2a801fdc3aacc50b (diff) | |
download | pylint-git-e7180d432f5014cbb4923627ab8cdb0a8118aaab.tar.gz |
[tests lint] Fix all W0223: abstract-method in pylint's own tests
-rw-r--r-- | tests/.test_pylintrc | 1 | ||||
-rw-r--r-- | tests/extensions/test_broad_try_clause.py | 3 | ||||
-rw-r--r-- | tests/extensions/test_comparetozero.py | 3 | ||||
-rw-r--r-- | tests/test_self.py | 2 |
4 files changed, 7 insertions, 2 deletions
diff --git a/tests/.test_pylintrc b/tests/.test_pylintrc index 73630d87f..23c803fa9 100644 --- a/tests/.test_pylintrc +++ b/tests/.test_pylintrc @@ -15,7 +15,6 @@ disable= # handled by black format, redefined-outer-name, - abstract-method, function-redefined, undefined-loop-variable, fixme, diff --git a/tests/extensions/test_broad_try_clause.py b/tests/extensions/test_broad_try_clause.py index de9723f8b..64e4a1cbc 100644 --- a/tests/extensions/test_broad_try_clause.py +++ b/tests/extensions/test_broad_try_clause.py @@ -22,6 +22,9 @@ class BroadTryClauseTestReporter(BaseReporter): def on_set_current_module(self, module, filepath): self.messages = [] + def _display(self, layout): + pass + class BroadTryClauseTC(unittest.TestCase): @classmethod diff --git a/tests/extensions/test_comparetozero.py b/tests/extensions/test_comparetozero.py index f01423568..6bb360d03 100644 --- a/tests/extensions/test_comparetozero.py +++ b/tests/extensions/test_comparetozero.py @@ -24,6 +24,9 @@ class CompareToZeroTestReporter(BaseReporter): def on_set_current_module(self, module, filepath): self.messages = [] + def _display(self, layout): + pass + class CompareToZeroUsedTC(unittest.TestCase): @classmethod diff --git a/tests/test_self.py b/tests/test_self.py index e4c0c605b..c4478e98f 100644 --- a/tests/test_self.py +++ b/tests/test_self.py @@ -87,7 +87,7 @@ class MultiReporter(BaseReporter): for rep in self._reporters: rep.handle_message(msg) - def display_reports(self, layout): + def _display(self, layout): pass @property |