From b9625f087e738f7fdec17814e59ac483532f0008 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Tue, 6 Sep 2022 21:39:54 +0200 Subject: [PATCH] test: use python3 instead of python On some platform, like macOS, python is no longer available by default. --- 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 e2620cd84c85062..4e43f0dea1d5fa2 100644 --- a/test/parallel/test-child-process-set-blocking.js +++ b/test/parallel/test-child-process-set-blocking.js @@ -25,7 +25,7 @@ const assert = require('assert'); const ch = require('child_process'); const SIZE = 100000; -const python = process.env.PYTHON || 'python'; +const python = process.env.PYTHON || 'python3'; const cp = ch.spawn(python, ['-c', `print(${SIZE} * "C")`], { stdio: 'inherit'