Kaydet (Commit) c31cbbdb authored tarafından Ezio Melotti's avatar Ezio Melotti

Fix test_dict.

üst 1374a3eb
...@@ -549,7 +549,7 @@ class DictTest(unittest.TestCase): ...@@ -549,7 +549,7 @@ class DictTest(unittest.TestCase):
# Bug #3537: if an empty but presized dict with a size larger # Bug #3537: if an empty but presized dict with a size larger
# than 7 was in the freelist, it triggered an assertion failure # than 7 was in the freelist, it triggered an assertion failure
try: try:
d = {'a': 1/0, 'b': None, 'c': None, 'd': None, 'e': None, d = {'a': 1//0, 'b': None, 'c': None, 'd': None, 'e': None,
'f': None, 'g': None, 'h': None} 'f': None, 'g': None, 'h': None}
except ZeroDivisionError: except ZeroDivisionError:
pass pass
......
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