aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/bug_338.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_338.py')
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_338.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtWidgets/bug_338.py b/sources/pyside2/tests/QtWidgets/bug_338.py
index e51cb1523..ca095a617 100644
--- a/sources/pyside2/tests/QtWidgets/bug_338.py
+++ b/sources/pyside2/tests/QtWidgets/bug_338.py
@@ -28,9 +28,14 @@
''' Test bug 338: http://bugs.openbossa.org/show_bug.cgi?id=338'''
+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)
+
from PySide2 import QtCore, QtWidgets
class DiagramItem(QtWidgets.QGraphicsPolygonItem):