Mercurial > hg
diff tests/test-remotefilelog-datapack.py @ 49284:d44e3c45f0e4
py3: replace `pycompat.xrange` by `range`
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sun, 29 May 2022 15:17:27 +0200 |
parents | 642e31cb55f0 |
children | 493034cc3265 |
line wrap: on
line diff
--- a/tests/test-remotefilelog-datapack.py Sun May 29 12:38:54 2022 +0200 +++ b/tests/test-remotefilelog-datapack.py Sun May 29 15:17:27 2022 +0200 @@ -267,7 +267,7 @@ revisions = [] blobs = {} total = basepack.SMALLFANOUTCUTOFF + 1 - for i in pycompat.xrange(total): + for i in range(total): filename = b"filename-%d" % i content = filename node = self.getHash(content) @@ -357,7 +357,7 @@ ] for packsize in packsizes: revisions = [] - for i in pycompat.xrange(packsize): + for i in range(packsize): filename = b"filename-%d" % i content = b"content-%d" % i node = self.getHash(content)