aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/bug_662.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_662.py')
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_662.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtWidgets/bug_662.py b/sources/pyside2/tests/QtWidgets/bug_662.py
index a5cc650c1..7fb97deb6 100644
--- a/sources/pyside2/tests/QtWidgets/bug_662.py
+++ b/sources/pyside2/tests/QtWidgets/bug_662.py
@@ -28,7 +28,13 @@
''' Test bug 662: http://bugs.openbossa.org/show_bug.cgi?id=662'''
+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.QtGui import QTextCharFormat
from PySide2.QtWidgets import QTextEdit, QApplication
import sys