aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtCore/qobject_inherits_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtCore/qobject_inherits_test.py')
-rw-r--r--sources/pyside2/tests/QtCore/qobject_inherits_test.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtCore/qobject_inherits_test.py b/sources/pyside2/tests/QtCore/qobject_inherits_test.py
index 3a87da347..bc6e00654 100644
--- a/sources/pyside2/tests/QtCore/qobject_inherits_test.py
+++ b/sources/pyside2/tests/QtCore/qobject_inherits_test.py
@@ -28,8 +28,13 @@
'''Test cases for QObject methods'''
-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.QtCore import QObject, QTimer
from PySide2.QtWidgets import QApplication, QLabel, QVBoxLayout