Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 35f55ae

Browse filesBrowse files
lpincaRafaelGSS
authored andcommitted
test: use python3 instead of python
On some platforms, such as macOS, the `python` command is no longer available by default. PR-URL: #44545 Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 8493413 commit 35f55ae
Copy full SHA for 35f55ae

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-child-process-set-blocking.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-child-process-set-blocking.js
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.