From ec8ec8e9c78a27381d7744dc586d36f935a66172 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 23:23:12 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/studio/install/test_rocm_support.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/studio/install/test_rocm_support.py b/tests/studio/install/test_rocm_support.py index d743df11a7..c5cc0e12f8 100644 --- a/tests/studio/install/test_rocm_support.py +++ b/tests/studio/install/test_rocm_support.py @@ -2841,9 +2841,7 @@ class TestInstallBnbWindowsRocm: def test_falls_back_to_pypi_when_prerelease_install_fails(self): """A blocked GitHub pre-release URL must fall through to the PyPI floor rather than leaving Windows ROCm with no working bitsandbytes.""" - with patch.object( - stack_mod, "pip_install_try", side_effect = [False, True] - ) as mock_pip: + with patch.object(stack_mod, "pip_install_try", side_effect = [False, True]) as mock_pip: with patch.object(stack_mod, "_detect_bnb_rocm_dll_ver", return_value = "72"): result = stack_mod._install_bnb_windows_rocm() assert result is True