Skip to content

Commit 6bc911c

Browse files
committed
Skip cufile import test on Windows
1 parent 9a795ce commit 6bc911c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cuda_bindings/tests/test_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4+
import platform
45
import random
56
import subprocess # nosec B404
67
import sys
@@ -94,14 +95,14 @@ def test_get_handle_error(target):
9495

9596
@pytest.mark.parametrize(
9697
"module",
98+
# Top-level modules for external Python use
9799
[
98-
# Top-level modules for external Python use
99-
"cufile",
100100
"driver",
101101
"nvjitlink",
102102
"nvrtc",
103103
"nvvm",
104104
"runtime",
105+
*(["cufile"] if platform.system() != "Windows" else []),
105106
],
106107
)
107108
def test_cyclical_imports(module):

0 commit comments

Comments
 (0)