From 77177ba82f12e8b4422c23414d7a68ba9a3f6e20 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 10 May 2025 13:04:57 +0200 Subject: patman: Use python3 with /usr/bin/env If python2 is available then we must specify python3 here. Update the test to handle this. Signed-off-by: Simon Glass --- tools/patman/func_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/patman/func_test.py') 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("hello@there.com")\n', binary=False) os.chmod('dummy-script.sh', 0x555) tools.run('git', 'add', '.') -- cgit v1.2.3