diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-02-21 21:59:58 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-02-21 21:59:58 +0000 |
commit | ecca313aa4ea9027317f23d176e104db3bb85705 (patch) | |
tree | aac1ed6223f8f499df73de16e1a156ad5085502a /Lib/test/test_mutants.py | |
parent | 67582d2beee2fd67f18ec7cc9797c3b76342e510 (diff) | |
download | cpython-git-ecca313aa4ea9027317f23d176e104db3bb85705.tar.gz |
Fix test_mutants for dict views.
Diffstat (limited to 'Lib/test/test_mutants.py')
-rw-r--r-- | Lib/test/test_mutants.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |