Skip to content

Commit 85f56ae

Browse files
test: use python3 instead of python in pummel test
As f9bfe78 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: #53057 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f1ac7df commit 85f56ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pummel/test-child-process-spawn-loop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const common = require('../common');
2424
const assert = require('assert');
2525

2626
const spawn = require('child_process').spawn;
27-
const python = process.env.PYTHON || 'python';
27+
const python = process.env.PYTHON || (common.isWindows ? 'python' : 'python3');
2828

2929
const SIZE = 1000 * 1024;
3030
const N = 40;

0 commit comments

Comments
 (0)