diff --git a/packages/experimental/code-runtime-python/tests/runtime.spec.ts b/packages/experimental/code-runtime-python/tests/runtime.spec.ts index 4caff9430e..0de0216fc2 100644 --- a/packages/experimental/code-runtime-python/tests/runtime.spec.ts +++ b/packages/experimental/code-runtime-python/tests/runtime.spec.ts @@ -2816,7 +2816,7 @@ describe('PythonCodeRuntime — programs and bindings', () => { // asked for. const ctx = new Context() await expect(ctx.plugin(PythonCodeRuntime, { pythonBin: 'definitely-no-such-python-xyz' })) - .rejects.toThrow(/does not resolve to an executable file/) + .rejects.toThrow(/does not resolve on PATH/) }) it('rejects a memberNameProperty naming a constrained BaseException attribute', async () => {