Patchwork D2331: py3: use range instead of xrange in tests/test-revset2.t

login
register
mail settings
Submitter phabricator
Date Feb. 18, 2018, 2:17 p.m.
Message ID <f050959a857f191c3c4bd9a72fd0f986@localhost.localdomain>
Download mbox | patch
Permalink /patch/28103/
State Not Applicable
Headers show

Comments

phabricator - Feb. 18, 2018, 2:17 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8591d6afc629: py3: use range instead of xrange in tests/test-revset2.t (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2331?vs=5860&id=5877

REVISION DETAIL
  https://phab.mercurial-scm.org/D2331

AFFECTED FILES
  tests/test-revset2.t

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-revset2.t b/tests/test-revset2.t
--- a/tests/test-revset2.t
+++ b/tests/test-revset2.t
@@ -420,7 +420,7 @@ 
 test that repeated `-r` options never eat up stack (issue4565)
 (uses `-r 0::1` to avoid possible optimization at old-style parser)
 
-  $ hg log -T '{rev}\n' `$PYTHON -c "for i in xrange(500): print '-r 0::1 ',"`
+  $ hg log -T '{rev}\n' `$PYTHON -c "for i in range(500): print '-r 0::1 ',"`
   0
   1