D2328: py3: use range instead of xrange in tests/test-convert-mtn.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Feb 18 09:17:37 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2b7318db0a89: py3: use range instead of xrange in tests/test-convert-mtn.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2328?vs=5857&id=5873
REVISION DETAIL
https://phab.mercurial-scm.org/D2328
AFFECTED FILES
tests/test-convert-mtn.t
CHANGE DETAILS
diff --git a/tests/test-convert-mtn.t b/tests/test-convert-mtn.t
--- a/tests/test-convert-mtn.t
+++ b/tests/test-convert-mtn.t
@@ -218,7 +218,7 @@
test large file support (> 32kB)
>>> fp = open('large-file', 'wb')
- >>> for x in xrange(10000): fp.write(b'%d\n' % x)
+ >>> for x in range(10000): fp.write(b'%d\n' % x)
>>> fp.close()
$ md5sum.py large-file
5d6de8a95c3b6bf9e0ffb808ba5299c1 large-file
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list