summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mutants.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_mutants.py')
-rw-r--r--Lib/test/test_mutants.py2
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