mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Fix test_mutants for dict views.
This commit is contained in:
parent
67582d2bee
commit
ecca313aa4
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue