Mercurial > hg
diff tests/test-pager.t @ 32940:75be14993fda
cleanup: use $PYTHON to run python in many more tests
Spotted one of these, then wrote a check-code rule that caught them
all. It will be the next change.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 20 Jun 2017 09:45:02 -0400 |
parents | 3b569745af6c |
children | fce4ed2912bb |
line wrap: on
line diff
--- a/tests/test-pager.t Thu Jun 15 14:22:39 2017 -0400 +++ b/tests/test-pager.t Tue Jun 20 09:45:02 2017 -0400 @@ -16,7 +16,7 @@ > formatted = yes > color = no > [pager] - > pager = python $TESTTMP/fakepager.py + > pager = $PYTHON $TESTTMP/fakepager.py > EOF $ hg init repo @@ -24,7 +24,7 @@ $ echo a >> a $ hg add a $ hg ci -m 'add a' - $ for x in `python $TESTDIR/seq.py 1 10`; do + $ for x in `$PYTHON $TESTDIR/seq.py 1 10`; do > echo a $x >> a > hg ci -m "modify a $x" > done