summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-02-21 21:59:58 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-02-21 21:59:58 (GMT)
commitecca313aa4ea9027317f23d176e104db3bb85705 (patch)
treeaac1ed6223f8f499df73de16e1a156ad5085502a /Lib/test
parent67582d2beee2fd67f18ec7cc9797c3b76342e510 (diff)
downloadcpython-ecca313aa4ea9027317f23d176e104db3bb85705.zip
cpython-ecca313aa4ea9027317f23d176e104db3bb85705.tar.gz
cpython-ecca313aa4ea9027317f23d176e104db3bb85705.tar.bz2
Fix test_mutants for dict views.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_mutants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_mutants.py b/Lib/test/test_mutants.py
index a710248..d40e45f 100644
--- a/Lib/test/test_mutants.py
+++ b/Lib/test/test_mutants.py
@@ -116,7 +116,7 @@ def fill_dict(d, candidates, numentries):
for i in xrange(numentries):
d[Horrid(random.choice(candidates))] = \
Horrid(random.choice(candidates))
- return d.keys()
+ return list(d.keys())
# Test one pair of randomly generated dicts, each with n entries.
# Note that dict comparison is trivial if they don't have the same number