Skip to content

Commit 64461ee

Browse files
cclaussBridgeAR
authored andcommitted
test: use print() function in both Python 2 and 3
PR-URL: #29298 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 683cd0f commit 64461ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-child-process-set-blocking.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const ch = require('child_process');
2626

2727
const SIZE = 100000;
2828

29-
const cp = ch.spawn('python', ['-c', `print ${SIZE} * "C"`], {
29+
const cp = ch.spawn('python', ['-c', `print(${SIZE} * "C")`], {
3030
stdio: 'inherit'
3131
});
3232

0 commit comments

Comments
 (0)