[Python-checkins] gh-94938: Fix test (GH-95396)
miss-islington
webhook-mailer at python.org
Sat Jul 30 02:38:59 EDT 2022
https://github.com/python/cpython/commit/0579a187df9ca5d1bd928eec710c29aa40acd826
commit: 0579a187df9ca5d1bd928eec710c29aa40acd826
branch: 3.10
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:38:28-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 91ef9c94695c1..eee269093b278 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