]> 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:38:28 +0000 (23:38 -0700)
committerGitHub <noreply@github.com>
Sat, 30 Jul 2022 06:38:28 +0000 (23:38 -0700)
(cherry picked from commit 0956b6d9c44f66cc152c6afe22a3793e5b157cfd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_call.py

index 91ef9c94695c1e8d1917ac1bad9208cd4e5ac878..eee269093b2784a7d55b8be559de3098b53434c0 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):