aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_674.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_674.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_674.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_674.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_674.py b/sources/pyside6/tests/QtWidgets/bug_674.py
index 1262cd150..27a00ad45 100644
--- a/sources/pyside6/tests/QtWidgets/bug_674.py
+++ b/sources/pyside6/tests/QtWidgets/bug_674.py
@@ -18,7 +18,7 @@ class TestBug679(unittest.TestCase):
'''QGraphicsScene::clear() is missing'''
@unittest.skipUnless(hasattr(sys, "getrefcount"), f"{sys.implementation.name} has no refcount")
def testIt(self):
- app = QApplication([])
+ app = QApplication([]) # noqa: F841
scene = QGraphicsScene()
hello = scene.addText("Hello")