aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtGui/qpixmap_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtGui/qpixmap_test.py')
-rw-r--r--sources/pyside2/tests/QtGui/qpixmap_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtGui/qpixmap_test.py b/sources/pyside2/tests/QtGui/qpixmap_test.py
index 8f853a38a..575abb096 100644
--- a/sources/pyside2/tests/QtGui/qpixmap_test.py
+++ b/sources/pyside2/tests/QtGui/qpixmap_test.py
@@ -26,9 +26,12 @@
##
#############################################################################
+import os
+import sys
import unittest
-import os
+sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
+
from helper import UsesQApplication
from PySide2.QtGui import *
from PySide2.QtCore import *