aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtGui/qrasterwindow_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtGui/qrasterwindow_test.py')
-rw-r--r--sources/pyside2/tests/QtGui/qrasterwindow_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtGui/qrasterwindow_test.py b/sources/pyside2/tests/QtGui/qrasterwindow_test.py
index 887982111..bd1cf24ff 100644
--- a/sources/pyside2/tests/QtGui/qrasterwindow_test.py
+++ b/sources/pyside2/tests/QtGui/qrasterwindow_test.py
@@ -28,8 +28,12 @@
'''Unit test for QBackingStore, QRasterWindow and QStaticText'''
+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 QEvent, QPoint, QRect, QSize, QTimer, Qt
from PySide2.QtGui import QColor, QBackingStore, QPaintDevice, QPainter, QWindow, QPaintDeviceWindow, QRasterWindow, QRegion, QStaticText