]> granicus.if.org Git - python/commitdiff
Fix test_mutants for dict views.
authorBrett Cannon <bcannon@gmail.com>
Wed, 21 Feb 2007 21:59:58 +0000 (21:59 +0000)
committerBrett Cannon <bcannon@gmail.com>
Wed, 21 Feb 2007 21:59:58 +0000 (21:59 +0000)
BROKEN
Lib/test/test_mutants.py

diff --git a/BROKEN b/BROKEN
index 2967871269c57e19631ad52e06633f4210ff8fd0..6ed9304bb9843e8a6a10071d4039a2fb1aac212a 100644 (file)
--- a/BROKEN
+++ b/BROKEN
@@ -1,2 +1,2 @@
     test_bsddb test_bsddb3 test_compile test_dumbdbm
-    test_importhooks test_iter test_iterlen test_minidom test_mutants
+    test_importhooks test_iter test_iterlen test_minidom
index a710248ac8ecb9a3f9dc844ac7e646bf7f18f3ec..d40e45fdb59ddeee724c562eb20b4ca58b507283 100644 (file)
@@ -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