From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 30 Jul 2022 06:39:54 +0000 (-0700) Subject: gh-94938: Fix test (GH-95396) X-Git-Tag: v3.11.0rc1~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd6452a3a83ace4d1dfe663af812483fb60ebcd0;p=thirdparty%2FPython%2Fcpython.git gh-94938: Fix test (GH-95396) (cherry picked from commit 0956b6d9c44f66cc152c6afe22a3793e5b157cfd) Co-authored-by: Serhiy Storchaka --- diff --git a/Lib/test/test_call.py b/Lib/test/test_call.py index a2eec419ab5b..4c971bc5ed05 100644 --- a/Lib/test/test_call.py +++ b/Lib/test/test_call.py @@ -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):