mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: use python3 instead of python in pummel test
As f9bfe785ee
already did for a regular test, replace `python` with
`python3` in the only `pummel` test spawning it so that it can be run on
platforms that don't provide a `python` binary anymore, like modern
macOS or some Linux distributions (e.g. Fedora) without specifying a
`PYTHON` env var.
PR-URL: https://github.com/nodejs/node/pull/53057
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
f1ac7df535
commit
85f56aed11
@ -24,7 +24,7 @@ const common = require('../common');
|
||||
const assert = require('assert');
|
||||
|
||||
const spawn = require('child_process').spawn;
|
||||
const python = process.env.PYTHON || 'python';
|
||||
const python = process.env.PYTHON || (common.isWindows ? 'python' : 'python3');
|
||||
|
||||
const SIZE = 1000 * 1024;
|
||||
const N = 40;
|
||||
|
Loading…
Reference in New Issue
Block a user