From c31cbbdb73a1f2b7e7f98d64ee0acbda25aa0fb3 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Mon, 2 Aug 2010 20:58:02 +0000 Subject: [PATCH] Fix test_dict. --- Lib/test/test_dict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py index 3ae0435940..3434764c34 100644 --- a/Lib/test/test_dict.py +++ b/Lib/test/test_dict.py @@ -549,7 +549,7 @@ class DictTest(unittest.TestCase): # Bug #3537: if an empty but presized dict with a size larger # than 7 was in the freelist, it triggered an assertion failure 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} except ZeroDivisionError: pass -- 2.50.1