Index: Lib/test/test_mutants.py =================================================================== --- Lib/test/test_mutants.py (revision 62635) +++ Lib/test/test_mutants.py (working copy) @@ -128,8 +128,8 @@ # Fill the dicts without mutating them. mutate = 0 - dict1keys = fill_dict(dict1, range(n), n) - dict2keys = fill_dict(dict2, range(n), n) + dict1keys = fill_dict(dict1, list(range(n)), n) + dict2keys = fill_dict(dict2, list(range(n)), n) # Enable mutation, then compare the dicts so long as they have the # same size.