diff --git a/tests/test-check-interfaces.py b/tests/test-check-interfaces.py --- a/tests/test-check-interfaces.py +++ b/tests/test-check-interfaces.py @@ -12,7 +12,7 @@ import sys # 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)