From ecca313aa4ea9027317f23d176e104db3bb85705 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 21 Feb 2007 21:59:58 +0000 Subject: [PATCH] Fix test_mutants for dict views. --- BROKEN | 2 +- Lib/test/test_mutants.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BROKEN b/BROKEN index 2967871269c5..6ed9304bb984 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 a710248ac8ec..d40e45fdb59d 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 -- 2.47.3