Skip to content

Commit 2459fc1

Browse files
committed
test: use python3 instead of python
On some platforms, such as macOS, the `python` command is no longer available by default.
1 parent 7f9cd60 commit 2459fc1

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
@@ -25,7 +25,7 @@ const assert = require('assert');
2525
const ch = require('child_process');
2626

2727
const SIZE = 100000;
28-
const python = process.env.PYTHON || 'python';
28+
const python = process.env.PYTHON || (common.isWindows ? 'python' : 'python3');
2929

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

0 commit comments

Comments
 (0)