diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-02-21 21:59:58 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-02-21 21:59:58 (GMT) |
commit | ecca313aa4ea9027317f23d176e104db3bb85705 (patch) | |
tree | aac1ed6223f8f499df73de16e1a156ad5085502a /Lib | |
parent | 67582d2beee2fd67f18ec7cc9797c3b76342e510 (diff) | |
download | cpython-ecca313aa4ea9027317f23d176e104db3bb85705.zip cpython-ecca313aa4ea9027317f23d176e104db3bb85705.tar.gz cpython-ecca313aa4ea9027317f23d176e104db3bb85705.tar.bz2 |
Fix test_mutants for dict views.
Diffstat (limited to 'Lib')
-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 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 |