From 5b4003d6f68bc0f96c17e9c329cf22c57f60f8b0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 12 Jul 2026 11:36:43 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/python/test_cross_platform_parity.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/python/test_cross_platform_parity.py b/tests/python/test_cross_platform_parity.py index 17bb39024e..c9b0646cc0 100644 --- a/tests/python/test_cross_platform_parity.py +++ b/tests/python/test_cross_platform_parity.py @@ -585,9 +585,9 @@ class TestPinnedIndexClearsUvEnvParity: fi = text[text.find("function Fast-Install") :][:2500] assert "'PIP_EXTRA_INDEX_URL'" in fi and "'PIP_FIND_LINKS'" in fi # the pip fallback must sit INSIDE the try whose finally restores the vars - assert fi.find("python -m pip install") < fi.find("finally"), ( - "pip fallback must run before the scrub is restored" - ) + assert fi.find("python -m pip install") < fi.find( + "finally" + ), "pip fallback must run before the scrub is restored" def test_setup_ps1_stale_check_requires_rocm_digit(self): """The marker stale check must use the same rocm+digit gate as the