summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-set-blocking.js
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2019-08-24 22:03:47 +0200
committerRich Trott <rtrott@gmail.com>2019-08-26 21:30:01 -0700
commitb2cce432f3ee91547e9a7c10560877d1d00229df (patch)
treeab13459677a5f2bebaa16fbf8734c5a3c6ef7c3e /test/parallel/test-child-process-set-blocking.js
parentfd964de1b7df1d97b228b1196ecbc312e162ea8f (diff)
downloadandroid-node-v8-b2cce432f3ee91547e9a7c10560877d1d00229df.tar.gz
android-node-v8-b2cce432f3ee91547e9a7c10560877d1d00229df.tar.bz2
android-node-v8-b2cce432f3ee91547e9a7c10560877d1d00229df.zip
test: use print() function in both Python 2 and 3
PR-URL: https://github.com/nodejs/node/pull/29298 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-child-process-set-blocking.js')
-rw-r--r--test/parallel/test-child-process-set-blocking.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-set-blocking.js b/test/parallel/test-child-process-set-blocking.js
index 51a079ef5f..b78b71e545 100644
--- a/test/parallel/test-child-process-set-blocking.js
+++ b/test/parallel/test-child-process-set-blocking.js
@@ -26,7 +26,7 @@ const ch = require('child_process');
const SIZE = 100000;
-const cp = ch.spawn('python', ['-c', `print ${SIZE} * "C"`], {
+const cp = ch.spawn('python', ['-c', `print(${SIZE} * "C")`], {
stdio: 'inherit'
});