From 6b30363fd816200305b6fdfe3ec29f0b19698d36 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Mon, 2 Feb 2026 14:50:19 -0500 Subject: [PATCH] test(nvml): skip unrepairable memory flag test on devices that do not support it --- cuda_bindings/tests/nvml/test_device.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cuda_bindings/tests/nvml/test_device.py b/cuda_bindings/tests/nvml/test_device.py index 82030e4408..122ab54ccb 100644 --- a/cuda_bindings/tests/nvml/test_device.py +++ b/cuda_bindings/tests/nvml/test_device.py @@ -94,7 +94,8 @@ def test_device_get_performance_modes(all_devices): @pytest.mark.skipif(cuda_version_less_than(13010), reason="Introduced in 13.1") def test_device_get_unrepairable_memory_flag(all_devices): for device in all_devices: - status = nvml.device_get_unrepairable_memory_flag_v1(device) + with unsupported_before(device, None): + status = nvml.device_get_unrepairable_memory_flag_v1(device) assert isinstance(status, int)