summaryrefslogtreecommitdiff
path: root/tests/wpt/runner/utils.ts
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-04-03 12:26:13 +1100
committerGitHub <noreply@github.com>2024-04-03 12:26:13 +1100
commitf76c38b13e6c9427e1b426dec160064aef985b08 (patch)
tree4938b1087b652facb58ea15a3d66eb0e52c08c03 /tests/wpt/runner/utils.ts
parent57572dafd5218119efb510a5e8a1cc82d4afa92f (diff)
chore: ensure `python@3.11` is installed for WPT tests (#23195)
This provides a more thorough check of whether the correct Python version is installed for running WPT tests.
Diffstat (limited to 'tests/wpt/runner/utils.ts')
-rw-r--r--tests/wpt/runner/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wpt/runner/utils.ts b/tests/wpt/runner/utils.ts
index 5e3399fa7..47f980833 100644
--- a/tests/wpt/runner/utils.ts
+++ b/tests/wpt/runner/utils.ts
@@ -141,10 +141,10 @@ export async function checkPy3Available() {
assert(success, "failed to run python --version");
const output = new TextDecoder().decode(stdout);
assert(
- output.includes("Python 3."),
+ output.includes("Python 3.11"),
`The ${
Deno.build.os == "windows" ? "python.exe" : "python3"
- } in your path is not Python 3.`,
+ } in your path is not Python 3.11.x. See https://github.com/web-platform-tests/wpt/issues/44427 for more details.`,
);
}