diff options
Diffstat (limited to 'sources/pyside2/tests/QtGui/qopenglwindow_test.py')
-rw-r--r-- | sources/pyside2/tests/QtGui/qopenglwindow_test.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtGui/qopenglwindow_test.py b/sources/pyside2/tests/QtGui/qopenglwindow_test.py index b20db90b6..e39cfb19c 100644 --- a/sources/pyside2/tests/QtGui/qopenglwindow_test.py +++ b/sources/pyside2/tests/QtGui/qopenglwindow_test.py @@ -28,10 +28,15 @@ '''Unit test for QOpenGLContext, QOpenGLTexture, QOpenGLWindow and related classes''' +import os import sys import unittest -from helper import UsesQApplication +sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +from init_paths import init_test_paths +init_test_paths(False) + +from helper.usesqapplication import UsesQApplication from PySide2.QtCore import QSize, QTimer, Qt from PySide2.QtGui import (QColor, QGuiApplication, QImage, QOpenGLContext, |