diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-07-28 08:38:59 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-07-28 10:18:20 +0200 |
| commit | d787a58720d00eca84e22db2e63000dd87188bf5 (patch) | |
| tree | b7542ebd2a8278d24d2b72bc2adc5c3f09d465d9 /sources/pyside6/tests/QtWidgets/qtextedit_test.py | |
| parent | 6ca6c142885e317ab31fad9715822f60795c0753 (diff) | |
Tests: Fix flake 8 warning F841 local variable is assigned to but never used
Pick-to: 6.9 6.8
Change-Id: Idff689832a68fadf6c4492032df3ed94b9343389
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/qtextedit_test.py')
| -rw-r--r-- | sources/pyside6/tests/QtWidgets/qtextedit_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/qtextedit_test.py b/sources/pyside6/tests/QtWidgets/qtextedit_test.py index 9cfc526c1..a8d80d6f0 100644 --- a/sources/pyside6/tests/QtWidgets/qtextedit_test.py +++ b/sources/pyside6/tests/QtWidgets/qtextedit_test.py @@ -39,7 +39,7 @@ class DontTouchReference(UsesQApplication): # C++ object already deleted." when accessing the QTextTable del self.cursor self.assertEqual(sys.getrefcount(self.table), 2) - cell = self.table.cellAt(0, 0) + cell = self.table.cellAt(0, 0) # noqa: F841 if __name__ == "__main__": |
