aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtGui/bug_652.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtGui/bug_652.py')
-rw-r--r--sources/pyside6/tests/QtGui/bug_652.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtGui/bug_652.py b/sources/pyside6/tests/QtGui/bug_652.py
index 50aa7e7c7..a994e8997 100644
--- a/sources/pyside6/tests/QtGui/bug_652.py
+++ b/sources/pyside6/tests/QtGui/bug_652.py
@@ -35,7 +35,8 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1]))
from init_paths import init_test_paths
init_test_paths(False)
-from PySide6.QtGui import *
+from PySide6.QtGui import QTextBlockUserData, QTextCursor, QTextDocument
+
class MyData(QTextBlockUserData):
def __init__(self, data):