D2325: py3: use range instead of xrange in tests/test-mq-missingfiles.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Feb 18 14:17:24 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG065445b44724: py3: use range instead of xrange in tests/test-mq-missingfiles.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2325?vs=5854&id=5871
REVISION DETAIL
https://phab.mercurial-scm.org/D2325
AFFECTED FILES
tests/test-mq-missingfiles.t
CHANGE DETAILS
diff --git a/tests/test-mq-missingfiles.t b/tests/test-mq-missingfiles.t
--- a/tests/test-mq-missingfiles.t
+++ b/tests/test-mq-missingfiles.t
@@ -10,7 +10,7 @@
> assert (len(args) % 2) == 0
>
> f = open(path, 'wb')
- > for i in xrange(len(args)/2):
+ > for i in range(len(args)/2):
> count, s = args[2*i:2*i+2]
> count = int(count)
> s = s.decode('string_escape')
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list