aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtCore/qobject_event_filter_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtCore/qobject_event_filter_test.py')
-rw-r--r--sources/pyside2/tests/QtCore/qobject_event_filter_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtCore/qobject_event_filter_test.py b/sources/pyside2/tests/QtCore/qobject_event_filter_test.py
index e65757b17..15ba59f37 100644
--- a/sources/pyside2/tests/QtCore/qobject_event_filter_test.py
+++ b/sources/pyside2/tests/QtCore/qobject_event_filter_test.py
@@ -28,9 +28,12 @@
'''Test cases for QObject.eventFilter'''
+import os
+import sys
import unittest
import weakref
-import sys
+
+sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
from PySide2.QtCore import QObject, QTimerEvent