mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +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
2
BROKEN
2
BROKEN
|
@ -1,2 +1,2 @@
|
||||||
test_bsddb test_bsddb3 test_compile test_dumbdbm
|
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):
|
for i in xrange(numentries):
|
||||||
d[Horrid(random.choice(candidates))] = \
|
d[Horrid(random.choice(candidates))] = \
|
||||||
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.
|
# 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
|
# 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