From 116fa6eb921886c1fcc30d7da9d60d0c25505979 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 16 May 2026 19:56:08 +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, 2 insertions(+), 2 deletions(-) diff --git a/tests/studio/install/test_rocm_support.py b/tests/studio/install/test_rocm_support.py index 53eb9aa1a4..9bfc37f364 100644 --- a/tests/studio/install/test_rocm_support.py +++ b/tests/studio/install/test_rocm_support.py @@ -2105,13 +2105,13 @@ class TestHipSdkEnvPathResolution: source = _SETUP_PS1_PATH.read_text(encoding = "utf-8") assert "ROCM_PATH" in source # Confirm the fallback pattern: HIP_PATH ?? ROCM_PATH (or equivalent elseif) - assert ("ROCM_PATH" in source and "HIP_PATH" in source) + assert "ROCM_PATH" in source and "HIP_PATH" in source def test_install_checks_rocm_path_as_hipinfo_fallback(self): """install.ps1 must also check ROCM_PATH as a secondary hipinfo fallback.""" source = _INSTALL_PS1_PATH.read_text(encoding = "utf-8") assert "ROCM_PATH" in source - assert ("ROCM_PATH" in source and "HIP_PATH" in source) + assert "ROCM_PATH" in source and "HIP_PATH" in source def test_setup_resolves_hipinfo_via_bin_subdir(self): """setup.ps1 must join the env var root with 'bin\\hipinfo.exe'."""