From bba7b95fb5a20994b3a8e9aefad4e100c86a9a3c Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Wed, 20 May 2026 12:02:02 -0400 Subject: [PATCH] Skip test_get_process_name on WSL --- cuda_core/tests/system/test_system_system.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cuda_core/tests/system/test_system_system.py b/cuda_core/tests/system/test_system_system.py index 729e4b26244..570e4e95809 100644 --- a/cuda_core/tests/system/test_system_system.py +++ b/cuda_core/tests/system/test_system_system.py @@ -12,6 +12,8 @@ except ImportError: from cuda import cuda as driver +import helpers + from cuda.core import system from cuda.core._utils.cuda_utils import handle_return @@ -60,6 +62,7 @@ def test_nvml_version(): assert 0 <= ver_patch[0] <= 99 +@pytest.mark.skipif(helpers.IS_WSL, reason="Process names may not be available on WSL") @skip_if_nvml_unsupported def test_get_process_name(): try: