]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-94938: Fix test (GH-95396)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 30 Jul 2022 06:39:54 +0000 (23:39 -0700)
committerGitHub <noreply@github.com>
Sat, 30 Jul 2022 06:39:54 +0000 (23:39 -0700)
(cherry picked from commit 0956b6d9c44f66cc152c6afe22a3793e5b157cfd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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):