diff tests/test-revset2.t @ 36326:8591d6afc629

py3: use range instead of xrange in tests/test-revset2.t xrange is not present on Python 3. Differential Revision: https://phab.mercurial-scm.org/D2331
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 18 Feb 2018 18:20:57 +0530
parents 1a09dad8b85a
children 2a258985ffeb
line wrap: on
line diff
--- a/tests/test-revset2.t	Sun Feb 18 18:20:21 2018 +0530
+++ b/tests/test-revset2.t	Sun Feb 18 18:20:57 2018 +0530
@@ -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