]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-94938: Fix test (GH-95396)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 30 Jul 2022 06:16:22 +0000 (09:16 +0300)
committerGitHub <noreply@github.com>
Sat, 30 Jul 2022 06:16:22 +0000 (09:16 +0300)
Lib/test/test_call.py

index a2eec419ab5b413b25a97573e33d863997951985..4c971bc5ed05868fb4e7c5d4742aa17e9886020e 100644 (file)
@@ -18,11 +18,6 @@ class BadStr(str):
         # Guaranteed different hash
         return str.__hash__(self) ^ 3
 
-    def __eq__(self, other):
-        return False
-    def __hash__(self):
-        return str.__hash__(self)
-
 
 class FunctionCalls(unittest.TestCase):