aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtGui/bug_740.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtGui/bug_740.py')
-rw-r--r--sources/pyside2/tests/QtGui/bug_740.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtGui/bug_740.py b/sources/pyside2/tests/QtGui/bug_740.py
index 5ea45e7f2..a4db6e5a8 100644
--- a/sources/pyside2/tests/QtGui/bug_740.py
+++ b/sources/pyside2/tests/QtGui/bug_740.py
@@ -26,9 +26,16 @@
##
#############################################################################
+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(False)
+
import py3kcompat as py3k
-from helper import UsesQApplication
+from helper.usesqapplication import UsesQApplication
from PySide2.QtCore import QSize
from PySide2.QtGui import QBitmap, QImage