Skip to content

Commit ddec79e

Browse files
author
Franziska Geiger
committed
Failing test fix
1 parent ad244b3 commit ddec79e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_posix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_execl(self):
7171
import sys
7272
new_file_path, cwd = self.create_file()
7373
# os.execl(new_file_path, [new_file_path, 'the_input'])
74-
os.system("%s -c \"import os; os.execl('%s', ['%s', 'the_input'])\"" % (sys.executable, new_file_path, new_file_path))
74+
os.system("%s -c \"import os; os.execl('%s', *['%s', 'the_input'])\"" % (sys.executable, new_file_path, new_file_path))
7575
assert os.path.isfile(cwd + '/test.txt')
7676
self.delete_file(new_file_path, cwd)
7777

0 commit comments

Comments
 (0)