Skip to content

Commit

Permalink
Merge pull request #4241 from branfosj/env
Browse files Browse the repository at this point in the history
use "/usr/bin/env python" in test_run_cmd_script
  • Loading branch information
boegel authored Apr 15, 2023
2 parents 3a09a37 + 68a52c7 commit f725e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/framework/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ def test_run_cmd_script(self):
"""Testing use of run_cmd with shell=False to call external scripts"""
py_test_script = os.path.join(self.test_prefix, 'test.py')
write_file(py_test_script, '\n'.join([
'#!/usr/bin/python',
'#!/usr/bin/env python',
'print("hello")',
]))
adjust_permissions(py_test_script, stat.S_IXUSR)
Expand Down

0 comments on commit f725e61

Please sign in to comment.