aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtCore/blocking_signals_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtCore/blocking_signals_test.py')
-rw-r--r--sources/pyside2/tests/QtCore/blocking_signals_test.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtCore/blocking_signals_test.py b/sources/pyside2/tests/QtCore/blocking_signals_test.py
index 2f8b95b27..c3497c89f 100644
--- a/sources/pyside2/tests/QtCore/blocking_signals_test.py
+++ b/sources/pyside2/tests/QtCore/blocking_signals_test.py
@@ -28,9 +28,14 @@
''' Test case for QObject.signalsBlocked() and blockSignal()'''
-import unittest
import os
+import sys
from tempfile import mkstemp
+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, SIGNAL, QFile, QSignalBlocker