[Python-checkins] gh-94938: Fix test (GH-95396)

miss-islington webhook-mailer at python.org
Sat Jul 30 02:40:03 EDT 2022


https://github.com/python/cpython/commit/bd6452a3a83ace4d1dfe663af812483fb60ebcd0
commit: bd6452a3a83ace4d1dfe663af812483fb60ebcd0
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-07-29T23:39:54-07:00
summary:

gh-94938: Fix test (GH-95396)

(cherry picked from commit 0956b6d9c44f66cc152c6afe22a3793e5b157cfd)

Co-authored-by: Serhiy Storchaka <storchaka at gmail.com>

files:
M Lib/test/test_call.py

diff --git a/Lib/test/test_call.py b/Lib/test/test_call.py
index a2eec419ab5b4..4c971bc5ed058 100644
--- a/Lib/test/test_call.py
+++ b/Lib/test/test_call.py
@@ -18,11 +18,6 @@ def __hash__(self):
         # 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):
 



More information about the Python-checkins mailing list