summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2019-08-24 22:03:47 +0200
committerGitHub <noreply@github.com>2019-08-24 22:03:47 +0200
commitc08918add1455f79f9dabfce398c30019c448d07 (patch)
treec4d50c4e33f320293dc6e32b2805aeda62d30277
parentb3172f834f418f4f2656d851e585f17aece73333 (diff)
downloadnode-new-py3-test-child-process-set-blocking.jscclauss-patch-1.tar.gz
test: use print() function in both Python 2 and 3py3-test-child-process-set-blocking.jscclauss-patch-1
-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'
});