If python2 is available then we must specify python3 here. Update the test to handle this.
Signed-off-by: Simon Glass <s...@chromium.org> --- tools/patman/func_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index 00aed8786e8..da81101ea93 100644 --- a/tools/patman/func_test.py +++ b/tools/patman/func_test.py @@ -637,7 +637,7 @@ complicated as possible''') 'check_patch: False\n' 'add_maintainers: True\n', binary=False) tools.write_file('dummy-script.sh', - '#!/usr/bin/env python\n' + '#!/usr/bin/env python3\n' 'print("he...@there.com")\n', binary=False) os.chmod('dummy-script.sh', 0x555) tools.run('git', 'add', '.') -- 2.43.0