aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_549.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/bug_549.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/bug_549.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_549.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_549.py b/sources/pyside6/tests/QtWidgets/bug_549.py
index ad082c451..41e23a7e9 100644
--- a/sources/pyside6/tests/QtWidgets/bug_549.py
+++ b/sources/pyside6/tests/QtWidgets/bug_549.py
@@ -16,7 +16,7 @@ from PySide6.QtWidgets import QApplication, QGraphicsWidget
class TestBug549(unittest.TestCase):
def testBug(self):
- app = QApplication([])
+ app = QApplication([]) # noqa: F841
w = QGraphicsWidget()
w.setContentsMargins(1, 2, 3, 4)
self.assertEqual(w.getContentsMargins(), (1, 2, 3, 4))