# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-02-18 12:50:57 # Node ID 8591d6afc629f2f8570892f09675f68737b1f9f7 # Parent b543b3ce608b70b6ffcec71dd69095f44de93732 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 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 chained `or` operations never 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