aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/qapp_issue_585.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/qapp_issue_585.py')
-rw-r--r--sources/pyside2/tests/QtWidgets/qapp_issue_585.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtWidgets/qapp_issue_585.py b/sources/pyside2/tests/QtWidgets/qapp_issue_585.py
index f124ee6a6..d7afdec3a 100644
--- a/sources/pyside2/tests/QtWidgets/qapp_issue_585.py
+++ b/sources/pyside2/tests/QtWidgets/qapp_issue_585.py
@@ -58,6 +58,14 @@ For some reason, the test does not work as a unittest because it creates
no crash. We leave it this way.
"""
+import os
+import sys
+
+sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
+sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+from init_paths import init_test_paths
+init_test_paths()
+
from PySide2.QtCore import QTimer
from PySide2 import QtWidgets