Mercurial > public > mercurial-scm > hg-stable
diff tests/test-demandimport.py @ 46226:0826d684a1b5
test: replace a many occurence of `python` with `$PYTHON`
Otherwise this can use the wrong python version, or worse, not find any python
at all.
Differential Revision: https://phab.mercurial-scm.org/D9730
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 12 Jan 2021 22:43:55 +0100 |
parents | fc8299319ffe |
children | 6000f5b25c9b |
line wrap: on
line diff
--- a/tests/test-demandimport.py Tue Jan 12 17:32:08 2021 -0800 +++ b/tests/test-demandimport.py Tue Jan 12 22:43:55 2021 +0100 @@ -14,7 +14,7 @@ # Only run if demandimport is allowed if subprocess.call( - ['python', '%s/hghave' % os.environ['TESTDIR'], 'demandimport'] + [os.environ['PYTHON'], '%s/hghave' % os.environ['TESTDIR'], 'demandimport'] ): sys.exit(80)