tests/test-pathencode.py
changeset 48935 2cce2fa5bcf7
parent 48875 6000f5b25c9b
child 49285 56f98406831b
--- a/tests/test-pathencode.py	Mon Feb 21 11:24:57 2022 -0700
+++ b/tests/test-pathencode.py	Tue Mar 01 20:52:32 2022 -0800
@@ -66,7 +66,7 @@
             counts[c] += 1
     for c in '\r/\n':
         counts.pop(c, None)
-    t = sum(pycompat.itervalues(counts)) / 100.0
+    t = sum(counts.values()) / 100.0
     fp.write('probtable = (')
     for i, (k, v) in enumerate(
         sorted(counts.items(), key=lambda x: x[1], reverse=True)