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