aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/bug_811.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_811.py')
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_811.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtWidgets/bug_811.py b/sources/pyside2/tests/QtWidgets/bug_811.py
index 4715c1a97..b02059836 100644
--- a/sources/pyside2/tests/QtWidgets/bug_811.py
+++ b/sources/pyside2/tests/QtWidgets/bug_811.py
@@ -26,10 +26,13 @@
##
#############################################################################
-import unittest
+import os
import sys
+import unittest
import weakref
+sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util"))
+
from helper import UsesQApplication
from PySide2.QtGui import QTextBlockUserData, QTextCursor