Skip to content

Commit

Permalink
test: use python3 instead of python in pummel test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fahrradflucht committed May 20, 2024
1 parent 7380252 commit b395a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pummel/test-child-process-spawn-loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b395a10

Please sign in to comment.