Skip to content

Commit f725e61

Browse files
authored
Merge pull request #4241 from branfosj/env
use "/usr/bin/env python" in test_run_cmd_script
2 parents 3a09a37 + 68a52c7 commit f725e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ def test_run_cmd_script(self):
543543
"""Testing use of run_cmd with shell=False to call external scripts"""
544544
py_test_script = os.path.join(self.test_prefix, 'test.py')
545545
write_file(py_test_script, '\n'.join([
546-
'#!/usr/bin/python',
546+
'#!/usr/bin/env python',
547547
'print("hello")',
548548
]))
549549
adjust_permissions(py_test_script, stat.S_IXUSR)

0 commit comments

Comments
 (0)