[Python-checkins] r83578 - python/branches/release26-maint/Lib/test/test_dict.py

ezio.melotti python-checkins at python.org
Mon Aug 2 22:58:02 CEST 2010


Author: ezio.melotti
Date: Mon Aug  2 22:58:02 2010
New Revision: 83578

Log:
Fix test_dict.

Modified:
   python/branches/release26-maint/Lib/test/test_dict.py

Modified: python/branches/release26-maint/Lib/test/test_dict.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_dict.py	(original)
+++ python/branches/release26-maint/Lib/test/test_dict.py	Mon Aug  2 22:58:02 2010
@@ -549,7 +549,7 @@
         # 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


More information about the Python-checkins mailing list