Commit ecca313a authored by Brett Cannon's avatar Brett Cannon

Fix test_mutants for dict views.

parent 67582d2b
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
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment