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:
Mathis Wiehl 2024-07-04 15:08:38 +02:00 committed by GitHub
parent f1ac7df535
commit 85f56aed11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;