aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtGui/qpixelformat_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtGui/qpixelformat_test.py')
-rw-r--r--sources/pyside2/tests/QtGui/qpixelformat_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtGui/qpixelformat_test.py b/sources/pyside2/tests/QtGui/qpixelformat_test.py
index 563f36cdf..5689ca0e0 100644
--- a/sources/pyside2/tests/QtGui/qpixelformat_test.py
+++ b/sources/pyside2/tests/QtGui/qpixelformat_test.py
@@ -28,8 +28,12 @@
'''Unit test for QPixelFormat'''
+import os
+import sys
import unittest
+sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
+
from helper import UsesQApplication
from PySide2.QtCore import QSize, Qt
from PySide2.QtGui import QColor, QImage, QPixelFormat