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_525.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_525.py')
| -rw-r--r-- | sources/pyside6/tests/QtWidgets/bug_525.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_525.py b/sources/pyside6/tests/QtWidgets/bug_525.py index 7775ed1b6..81cee86d1 100644 --- a/sources/pyside6/tests/QtWidgets/bug_525.py +++ b/sources/pyside6/tests/QtWidgets/bug_525.py @@ -26,7 +26,7 @@ class TestMenuDerivedClass(unittest.TestCase): pass def testConnectSignal(self): - app = QApplication([]) + app = QApplication([]) # noqa: F841 m2 = M2() # Test if the aboutToShow signal was translated to correct type m2.aboutToShow.connect(self.aboutToShowHandler) |
