--- a/tests/test-revset.t Tue Jun 20 17:25:57 2017 -0400
+++ b/tests/test-revset.t Tue Jun 20 17:31:18 2017 -0400
@@ -3065,14 +3065,14 @@
test that chained `or` operations never eat up stack (issue4624)
(uses `0:1` instead of `0` to avoid future optimization of trivial revisions)
- $ hg log -T '{rev}\n' -r `python -c "print '+'.join(['0:1'] * 500)"`
+ $ hg log -T '{rev}\n' -r `$PYTHON -c "print '+'.join(['0:1'] * 500)"`
0
1
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 xrange(500): print '-r 0::1 ',"`
0
1