From c08918add1455f79f9dabfce398c30019c448d07 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 24 Aug 2019 22:03:47 +0200 Subject: [PATCH] test: use print() function in both Python 2 and 3 --- test/parallel/test-child-process-set-blocking.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-child-process-set-blocking.js b/test/parallel/test-child-process-set-blocking.js index 51a079ef5fac73..b78b71e545b004 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' });