From: Serhiy Storchaka Date: Sat, 30 Jul 2022 06:16:22 +0000 (+0300) Subject: gh-94938: Fix test (GH-95396) X-Git-Tag: v3.12.0a1~786 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0956b6d9c44f66cc152c6afe22a3793e5b157cfd;p=thirdparty%2FPython%2Fcpython.git gh-94938: Fix test (GH-95396) --- 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):