From c87eaed3213bd22e05950282ca208fb5cf81503d Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Tue, 18 Nov 2025 20:09:45 -0800 Subject: [PATCH] Fix comment and skip message in test_memory.py::test_vmm_allocator_policy_configuration --- cuda_core/tests/test_memory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cuda_core/tests/test_memory.py b/cuda_core/tests/test_memory.py index 21dee2328..a857e7da7 100644 --- a/cuda_core/tests/test_memory.py +++ b/cuda_core/tests/test_memory.py @@ -396,9 +396,9 @@ def test_vmm_allocator_policy_configuration(): if not device.properties.virtual_memory_management_supported: pytest.skip("Virtual memory management is not supported on this device") - # Skip if GPU Direct RDMA is supported (we want to test the unsupported case) + # Skip if GPU Direct RDMA is not supported if not device.properties.gpu_direct_rdma_supported: - pytest.skip("This test requires a device that doesn't support GPU Direct RDMA") + pytest.skip("This test requires a device that supports GPU Direct RDMA") # Test with custom VMM config custom_config = VirtualMemoryResourceOptions(