mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
gh-94938: Fix test (GH-95396)
This commit is contained in:
parent
7e19e417b5
commit
0956b6d9c4
1 changed files with 0 additions and 5 deletions
|
@ -18,11 +18,6 @@ class BadStr(str):
|
||||||
# Guaranteed different hash
|
# Guaranteed different hash
|
||||||
return str.__hash__(self) ^ 3
|
return str.__hash__(self) ^ 3
|
||||||
|
|
||||||
def __eq__(self, other):
|
|
||||||
return False
|
|
||||||
def __hash__(self):
|
|
||||||
return str.__hash__(self)
|
|
||||||
|
|
||||||
|
|
||||||
class FunctionCalls(unittest.TestCase):
|
class FunctionCalls(unittest.TestCase):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue