aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-01-12 13:02:29 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-01-12 16:30:27 +0100
commit1f8884083b6a7920fbca3e3cb87033ea81b7d4e8 (patch)
tree3cfe1da6255e213b0cdc7a32e8b1b4d60df86050 /sources/pyside6/tests
parente446970288ac19bc574bfdcb9fca6e3075c91701 (diff)
Fix imports of widget test bug_854.py
The test is crashing on Windows due to a missing import. Pick-to: 6.6 6.5 Change-Id: Iec366a236c72185b2768c4d08a4eb2b7c982e237 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Diffstat (limited to 'sources/pyside6/tests')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_854.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_854.py b/sources/pyside6/tests/QtWidgets/bug_854.py
index f99bf6b08..1dbfd4b3a 100644
--- a/sources/pyside6/tests/QtWidgets/bug_854.py
+++ b/sources/pyside6/tests/QtWidgets/bug_854.py
@@ -10,8 +10,8 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1]))
from init_paths import init_test_paths
init_test_paths(False)
-from PySide6.QtWidgets import QTableView, QVBoxLayout, QApplication
-from PySide6.QtCore import QAbstractItemModel
+from PySide6.QtWidgets import QTableView, QApplication
+from PySide6.QtCore import QAbstractItemModel, QModelIndex
from helper.usesqapplication import UsesQApplication