Mercurial > hg-stable
changeset 46176:300f6e23882a
test-check-interface: do not expect bare "python" executable exists
The test would crash if python executable had version suffix.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 19 Dec 2020 12:01:58 +0900 |
parents | a04c03b0678e |
children | 0c320e6032f1 |
files | tests/test-check-interfaces.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-interfaces.py Fri Dec 18 20:09:11 2020 +0900 +++ b/tests/test-check-interfaces.py Sat Dec 19 12:01:58 2020 +0900 @@ -12,7 +12,7 @@ # Only run if tests are run in a repo if subprocess.call( - ['python', '%s/hghave' % os.environ['TESTDIR'], 'test-repo'] + [sys.executable, '%s/hghave' % os.environ['TESTDIR'], 'test-repo'] ): sys.exit(80)