From: Brett Cannon Date: Wed, 21 Feb 2007 21:59:58 +0000 (+0000) Subject: Fix test_mutants for dict views. X-Git-Tag: v3.0a1~1208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecca313aa4ea9027317f23d176e104db3bb85705;p=python Fix test_mutants for dict views. --- diff --git a/BROKEN b/BROKEN index 2967871269..6ed9304bb9 100644 --- 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 diff --git a/Lib/test/test_mutants.py b/Lib/test/test_mutants.py index a710248ac8..d40e45fdb5 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