From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 30 Jul 2022 06:38:28 +0000 (-0700) Subject: gh-94938: Fix test (GH-95396) X-Git-Tag: v3.10.6~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0579a187df9ca5d1bd928eec710c29aa40acd826;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 91ef9c94695c..eee269093b27 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):