diff options
Diffstat (limited to 'sources/pyside2/tests/QtGui/qpixelformat_test.py')
-rw-r--r-- | sources/pyside2/tests/QtGui/qpixelformat_test.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtGui/qpixelformat_test.py b/sources/pyside2/tests/QtGui/qpixelformat_test.py index 563f36cdf..30ea213d6 100644 --- a/sources/pyside2/tests/QtGui/qpixelformat_test.py +++ b/sources/pyside2/tests/QtGui/qpixelformat_test.py @@ -28,9 +28,15 @@ '''Unit test for QPixelFormat''' +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, Qt from PySide2.QtGui import QColor, QImage, QPixelFormat |