aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/pysidetest/delegatecreateseditor_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/pysidetest/delegatecreateseditor_test.py')
-rw-r--r--sources/pyside2/tests/pysidetest/delegatecreateseditor_test.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/sources/pyside2/tests/pysidetest/delegatecreateseditor_test.py b/sources/pyside2/tests/pysidetest/delegatecreateseditor_test.py
index 82967a177..1378ca8ad 100644
--- a/sources/pyside2/tests/pysidetest/delegatecreateseditor_test.py
+++ b/sources/pyside2/tests/pysidetest/delegatecreateseditor_test.py
@@ -28,9 +28,15 @@
##
#############################################################################
+import os
+import sys
import unittest
-from helper.usesqapplication import UsesQApplication
+sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+from init_paths import init_test_paths
+init_test_paths(True)
+
+from helper.usesqapplication import UsesQApplication
from testbinding import TestView
from PySide2.QtCore import Qt
from PySide2.QtWidgets import QAbstractItemDelegate, QComboBox