aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtUiTools/bug_965.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtUiTools/bug_965.py')
-rw-r--r--sources/pyside2/tests/QtUiTools/bug_965.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/sources/pyside2/tests/QtUiTools/bug_965.py b/sources/pyside2/tests/QtUiTools/bug_965.py
index a8fabe727..217f948af 100644
--- a/sources/pyside2/tests/QtUiTools/bug_965.py
+++ b/sources/pyside2/tests/QtUiTools/bug_965.py
@@ -26,12 +26,15 @@
##
#############################################################################
-from PySide2.QtUiTools import QUiLoader
import os
import sys
import unittest
-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(False)
+
+from PySide2.QtUiTools import QUiLoader
from helper.usesqapplication import UsesQApplication
from helper.helper import adjust_filename