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/bug_243.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/bug_243.py')
| -rw-r--r-- | sources/pyside6/tests/QtWidgets/bug_243.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_243.py b/sources/pyside6/tests/QtWidgets/bug_243.py index 7987be96e..533dfc450 100644 --- a/sources/pyside6/tests/QtWidgets/bug_243.py +++ b/sources/pyside6/tests/QtWidgets/bug_243.py @@ -19,7 +19,7 @@ from PySide6.QtWidgets import QApplication, QMainWindow, QLayout class QAppPresence(unittest.TestCase): def testBug(self): - app = QApplication(sys.argv) + app = QApplication(sys.argv) # noqa: F841 window = QMainWindow() l = window.layout() self.assertTrue(isinstance(l, QLayout)) |
