aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/qpixmap_constructor.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/qpixmap_constructor.py')
-rw-r--r--sources/pyside2/tests/QtWidgets/qpixmap_constructor.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtWidgets/qpixmap_constructor.py b/sources/pyside2/tests/QtWidgets/qpixmap_constructor.py
index d3748beb9..32eea87c9 100644
--- a/sources/pyside2/tests/QtWidgets/qpixmap_constructor.py
+++ b/sources/pyside2/tests/QtWidgets/qpixmap_constructor.py
@@ -28,8 +28,12 @@
##
#############################################################################
+import os
+import sys
import unittest
+sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
+
from PySide2.QtGui import QPixmap
from PySide2.QtWidgets import QLabel