tests/test-remotefilelog-histpack.py
branchstable
changeset 49366 288de6f5d724
parent 49284 d44e3c45f0e4
--- a/tests/test-remotefilelog-histpack.py	Thu Jun 16 15:15:03 2022 +0200
+++ b/tests/test-remotefilelog-histpack.py	Thu Jun 16 15:28:54 2022 +0200
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-from __future__ import absolute_import
 
 import hashlib
 import os
@@ -284,7 +283,7 @@
         This causes it to use a 2^16 fanout table instead."""
         total = basepack.SMALLFANOUTCUTOFF + 1
         revisions = []
-        for i in pycompat.xrange(total):
+        for i in range(total):
             filename = b"foo-%d" % i
             node = self.getFakeHash()
             p1 = self.getFakeHash()