changeset 43104 | 74802979dd9d |
parent 43076 | 2372284d9457 |
child 45942 | 89a2afe31e82 |
--- a/tests/test-pathencode.py Sun Oct 06 17:45:05 2019 -0400 +++ b/tests/test-pathencode.py Sun Oct 06 17:59:15 2019 -0400 @@ -67,7 +67,7 @@ counts[c] += 1 for c in '\r/\n': counts.pop(c, None) - t = sum(counts.itervalues()) / 100.0 + t = sum(pycompat.itervalues(counts)) / 100.0 fp.write('probtable = (') for i, (k, v) in enumerate( sorted(counts.items(), key=lambda x: x[1], reverse=True)