Skip to content

Commit 510fbe0

Browse files
authored
Skip test_get_process_name on WSL (#2117)
1 parent 9e42947 commit 510fbe0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cuda_core/tests/system/test_system_system.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
except ImportError:
1313
from cuda import cuda as driver
1414

15+
import helpers
16+
1517
from cuda.core import system
1618
from cuda.core._utils.cuda_utils import handle_return
1719

@@ -60,6 +62,7 @@ def test_nvml_version():
6062
assert 0 <= ver_patch[0] <= 99
6163

6264

65+
@pytest.mark.skipif(helpers.IS_WSL, reason="Process names may not be available on WSL")
6366
@skip_if_nvml_unsupported
6467
def test_get_process_name():
6568
try:

0 commit comments

Comments
 (0)