]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix test_dict.
authorEzio Melotti <ezio.melotti@gmail.com>
Mon, 2 Aug 2010 20:58:02 +0000 (20:58 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 2 Aug 2010 20:58:02 +0000 (20:58 +0000)
Lib/test/test_dict.py

index 3ae0435940d836cdce9dbff8beb3b36d4ccef4e6..3434764c346d29946f4379182b49b0676989bc95 100644 (file)
@@ -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