Kaydet (Commit) ff3d39fa authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka Kaydeden (comit) Pablo Galindo

bpo-36109: Fix random test_descr failure. (GH-12044)

üst b84df2d7
......@@ -4325,7 +4325,11 @@ order (MRO) for bases """
def __hash__(self):
return hash('attr')
def __eq__(self, other):
del C.attr
try:
del C.attr
except AttributeError:
# possible race condition
pass
return 0
class Descr(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment