tests/test-remotefilelog-cacheprocess.t
changeset 49285 56f98406831b
parent 47063 1d075b857c90
--- a/tests/test-remotefilelog-cacheprocess.t	Sun May 29 15:17:27 2022 +0200
+++ b/tests/test-remotefilelog-cacheprocess.t	Sun May 29 15:32:43 2022 +0200
@@ -18,8 +18,6 @@
   > import os
   > import shutil
   > import sys
-  > if sys.version_info[0] > 2:
-  >     xrange = range
   > f = open('$TESTTMP/cachelog.log', 'w')
   > srccache = os.path.join('$TESTTMP', 'oldhgcache')
   > def log(message):
@@ -36,7 +34,7 @@
   >             count = int(sys.stdin.readline())
   >             log('client wants %r blobs\n' % count)
   >             wants = []
-  >             for _ in xrange(count):
+  >             for _ in range(count):
   >                 key = sys.stdin.readline()[:-1]
   >                 wants.append(key)
   >                 if '\0' in key: