We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b1057f commit 8d257b6Copy full SHA for 8d257b6
cuda_bindings/tests/test_graphics_apis.py
@@ -1,18 +1,12 @@
1
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
3
4
-from cuda.bindings import runtime as cudart
5
-
6
-try:
7
- import PySide6
8
-except ImportError:
9
- PySide6 = None
10
11
import pytest
+from cuda.bindings import runtime as cudart
12
13
14
-@pytest.mark.skipif(PySide6 is None, reason="PySide6 not installed")
15
def test_graphics_api_smoketest():
+ _ = pytest.importorskip("PySide6")
16
from PySide6 import QtGui, QtOpenGL
17
18
class GLWidget(QtOpenGL.QOpenGLWindow):
0 commit comments