summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-08-02 20:58:02 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-08-02 20:58:02 (GMT)
commitc31cbbdb73a1f2b7e7f98d64ee0acbda25aa0fb3 (patch)
tree8424caf19415379e641171ef07a29ec819c8ecaa /Lib/test
parent1374a3eb9c2bf22ab0d770a6422280f58b5ea7ee (diff)
downloadcpython-c31cbbdb73a1f2b7e7f98d64ee0acbda25aa0fb3.zip
cpython-c31cbbdb73a1f2b7e7f98d64ee0acbda25aa0fb3.tar.gz
cpython-c31cbbdb73a1f2b7e7f98d64ee0acbda25aa0fb3.tar.bz2
Fix test_dict.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_dict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py
index 3ae0435..3434764 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