aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/bug_547.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_547.py')
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_547.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtWidgets/bug_547.py b/sources/pyside2/tests/QtWidgets/bug_547.py
index ac2000716..070b2f81a 100644
--- a/sources/pyside2/tests/QtWidgets/bug_547.py
+++ b/sources/pyside2/tests/QtWidgets/bug_547.py
@@ -30,8 +30,14 @@
""" http://bugs.openbossa.org/show_bug.cgi?id=547 """
import sys
+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 QtWidgets
class MyMainWindow(unittest.TestCase):