aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/bug_243.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_243.py')
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_243.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtWidgets/bug_243.py b/sources/pyside2/tests/QtWidgets/bug_243.py
index 7ce0a468e..bf5fa2eaa 100644
--- a/sources/pyside2/tests/QtWidgets/bug_243.py
+++ b/sources/pyside2/tests/QtWidgets/bug_243.py
@@ -28,8 +28,13 @@
''' Test bug 243: http://bugs.openbossa.org/show_bug.cgi?id=243'''
-import unittest
+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.QtWidgets import QApplication, QMainWindow, QLayout