From 3cc080599391c2bc607cbeeb95da9bed3a62d32f Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Sun, 10 May 2026 16:15:53 +0300 Subject: [PATCH] Tighten fmt guard failure message Co-authored-by: Codex --- sdk/python/tests/test_artifact_workflow_and_binaries.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sdk/python/tests/test_artifact_workflow_and_binaries.py b/sdk/python/tests/test_artifact_workflow_and_binaries.py index dbb9cfb44a..4a8e4df4d1 100644 --- a/sdk/python/tests/test_artifact_workflow_and_binaries.py +++ b/sdk/python/tests/test_artifact_workflow_and_binaries.py @@ -72,11 +72,8 @@ def test_root_fmt_recipe_formats_rust_and_python_sdk() -> None: } assert actual == expected, ( - "Python SDK lint/format recipe guard failed. `just fmt` should keep formatting " - "Rust and running Ruff for `../sdk/python` from the root justfile's default " - "`codex-rs` working directory, so it works from `codex/`, `codex-rs/`, and " - "`sdk/python/`. Fix the root `justfile` fmt recipe, then run `just fmt` from " - "the repo root or `sdk/python` to verify.\n" + "The root `just fmt` recipe must run Rust fmt and Python SDK Ruff. " + "Fix the `fmt` recipe in `justfile`, then run `just fmt`.\n" f"Expected: {json.dumps(expected, indent=2)}\n" f"Actual: {json.dumps(actual, indent=2)}" )