aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-30 14:20:20 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-30 15:07:04 +0200
commit7d4b517acec341dfaa0602f40dc66338329babb8 (patch)
treed487d9aea9ede857d64c91dafc47c2a03048d7a5 /sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py
parent55a0544de6de835aaa5e1277fe24773d7a4c2064 (diff)
qopenglwindow_test.py: Skip for GLES
Amends 8a0a3d7fc64917d53767856f4ecedb636597ec54. Pick-to: 6.5 Change-Id: I67a1fdaee87a8359f2c2f38cba8ed26359bae3e8 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py')
-rw-r--r--sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py b/sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py
index d8dede3e0..e2e874374 100644
--- a/sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py
+++ b/sources/pyside6/tests/QtOpenGL/qopenglwindow_test.py
@@ -17,14 +17,14 @@ from helper.usesqapplication import UsesQApplication
from PySide6.QtCore import QSize, QTimer, Qt
from PySide6.QtGui import (QColor, QGuiApplication, QImage, QOpenGLContext,
QSurfaceFormat)
-from PySide6.QtOpenGL import (QOpenGLTexture, QOpenGLWindow, QOpenGLVersionProfile,
- QOpenGLVersionFunctionsFactory)
+from PySide6.QtOpenGL import QOpenGLTexture, QOpenGLWindow
try:
from OpenGL import GL
+ from PySide6.QtOpenGL import QOpenGLVersionProfile, QOpenGLVersionFunctionsFactory
except ImportError:
- print("Skipping test due to missing OpenGL module")
+ print("Skipping test due to missing OpenGL module/GLES only build")
sys.exit(0)