diff options
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/qlabel_test.py')
-rw-r--r-- | sources/pyside2/tests/QtWidgets/qlabel_test.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtWidgets/qlabel_test.py b/sources/pyside2/tests/QtWidgets/qlabel_test.py index 9d84b5c17..19387dee9 100644 --- a/sources/pyside2/tests/QtWidgets/qlabel_test.py +++ b/sources/pyside2/tests/QtWidgets/qlabel_test.py @@ -28,13 +28,19 @@ '''Test cases for QLabel''' +import os +import sys import unittest +sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +from init_paths import init_test_paths +init_test_paths(True) + from PySide2.QtGui import QPixmap from PySide2.QtWidgets import QLabel import shiboken2 as shiboken -from helper import UsesQApplication +from helper.usesqapplication import UsesQApplication class QLabelTest(UsesQApplication): '''Test case for calling QLabel.setPixmap''' |