aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtGui/qpixmap_test.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/QtGui/qpixmap_test.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/QtGui/qpixmap_test.py')
-rw-r--r--sources/pyside6/tests/QtGui/qpixmap_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtGui/qpixmap_test.py b/sources/pyside6/tests/QtGui/qpixmap_test.py
index fbe670e6e..0dcd71064 100644
--- a/sources/pyside6/tests/QtGui/qpixmap_test.py
+++ b/sources/pyside6/tests/QtGui/qpixmap_test.py
@@ -28,7 +28,7 @@ class QPixmapTest(UsesQApplication):
self.assertTrue(pixmap.size().height(), 20)
def testQStringConstructor(self):
- pixmap = QPixmap("Testing!")
+ pixmap = QPixmap("Testing!") # noqa: F841
def testQPixmapLoadFromDataWithQFile(self):
f = QFile(os.path.join(os.path.dirname(__file__), 'sample.png'))