Skip to content

Commit 1e23bf8

Browse files
authored
Fix comment and skip message in test_memory.py::test_vmm_allocator_policy_configuration (#1266)
1 parent c4079dd commit 1e23bf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cuda_core/tests/test_memory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,9 @@ def test_vmm_allocator_policy_configuration():
396396
if not device.properties.virtual_memory_management_supported:
397397
pytest.skip("Virtual memory management is not supported on this device")
398398

399-
# Skip if GPU Direct RDMA is supported (we want to test the unsupported case)
399+
# Skip if GPU Direct RDMA is not supported
400400
if not device.properties.gpu_direct_rdma_supported:
401-
pytest.skip("This test requires a device that doesn't support GPU Direct RDMA")
401+
pytest.skip("This test requires a device that supports GPU Direct RDMA")
402402

403403
# Test with custom VMM config
404404
custom_config = VirtualMemoryResourceOptions(

0 commit comments

Comments
 (0)