summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-02-12 15:30:08 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-15 14:34:46 +0100
commitfada206eef6349280c45b27e48b62c1c309c89c6 (patch)
tree0113c452e5604c7ca7ae401dcd136308dfbce895
parentd825c21e18de5618cfcacea0fd818efa80a6b0fe (diff)
downloadpylint-git-fada206eef6349280c45b27e48b62c1c309c89c6.tar.gz
Remove hash function
* Return none already implied, by overwriting __eq__ and not __hash__
-rw-r--r--pylint/testutils/output_line.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/pylint/testutils/output_line.py b/pylint/testutils/output_line.py
index 3344978fa..d1753605c 100644
--- a/pylint/testutils/output_line.py
+++ b/pylint/testutils/output_line.py
@@ -21,9 +21,6 @@ class Message(
return self[:-1] == other[:-1]
return NotImplemented # pragma: no cover
- def __hash__(self):
- return None
-
class MalformedOutputLineException(Exception):
def __init__(self, row, exception):