test: use the correct python binary name on darwin

This commit is contained in:
Amin Yahyaabadi 2024-01-24 13:12:09 -08:00
parent 87f57022f5
commit 0324d60e51
No known key found for this signature in database
GPG Key ID: F52AF77F636088F0
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ describe("setup-python", () => {
const installInfo = await setupPython(getVersion("python", "true", await ubuntuVersion()), directory, process.arch)
await testBin("python", ["--version"], installInfo.binDir)
const python = process.platform === "darwin" ? "python3" : "python"
await testBin(python, ["--version"], installInfo.binDir)
})
afterAll(async () => {