gh-94938: Fix test (GH-95396)

This commit is contained in:
Serhiy Storchaka 2022-07-30 09:16:22 +03:00 committed by GitHub
parent 7e19e417b5
commit 0956b6d9c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):