[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-06-12 15:48:35 +00:00
commit 5b4eb34726

View file

@ -169,8 +169,11 @@ def main() -> None:
timeout = 120,
)
banner = (out.stdout + out.stderr).strip()
print(os.path.relpath(binary, install_dir), "->",
banner.splitlines()[0] if banner else "(no output)")
print(
os.path.relpath(binary, install_dir),
"->",
banner.splitlines()[0] if banner else "(no output)",
)
if expect not in banner:
raise SystemExit(
f"FAIL: {binary} did not print '{expect}': rc={out.returncode}\n{banner[:400]}"