aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/keep_reference_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-12-13 10:12:30 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-12-17 16:37:15 +0100
commit45548b18a9e73012521a7b16a234e9689da0d9ab (patch)
tree8f20adad674393e8564e4682bb5d0cc5dd444b26 /sources/pyside6/tests/QtWidgets/keep_reference_test.py
parentdc41b6a9fb736bb0b6e86470c3d3d016fa88711a (diff)
Fix some flake8 errors in tests/examples
As unearthed by the whitespace change. Pick-to: 6.8 Change-Id: I58c1a38c3c4a9c91719131d7950950ddf475872b Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/keep_reference_test.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/keep_reference_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/keep_reference_test.py b/sources/pyside6/tests/QtWidgets/keep_reference_test.py
index 11f71fe7e..f93770aa0 100644
--- a/sources/pyside6/tests/QtWidgets/keep_reference_test.py
+++ b/sources/pyside6/tests/QtWidgets/keep_reference_test.py
@@ -84,7 +84,7 @@ class KeepReferenceTest(UsesQApplication):
view.setModel(model)
view = QTableView()
createModelAndSetToView(view)
- model = view.model()
+ model = view.model() # noqa: F841
if __name__ == '__main__':