fix(tests): match windows AMD warning assertion to actual source string

This commit is contained in:
LeoBorcherding 2026-05-11 00:13:42 -05:00
commit f892b65a18

View file

@ -1401,7 +1401,7 @@ class TestWindowsRocmWarning:
def test_windows_amd_warning_in_source(self):
"""install_python_stack.py should warn Windows AMD users."""
source = _STACK_PATH.read_text()
assert "AMD GPU detected on Windows" in source
assert "AMD GPU detected" in source
def test_windows_amd_warning_checks_hipinfo_or_amdsmi(self):
"""Warning should check for hipinfo or amd-smi."""