mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fix test_mutants for dict views.
This commit is contained in:
2
BROKEN
2
BROKEN
@@ -1,2 +1,2 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user