diff options
Diffstat (limited to 'sources/pyside6/tests/QtGui/qpainter_test.py')
-rw-r--r-- | sources/pyside6/tests/QtGui/qpainter_test.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sources/pyside6/tests/QtGui/qpainter_test.py b/sources/pyside6/tests/QtGui/qpainter_test.py index 752475494..2a9db8598 100644 --- a/sources/pyside6/tests/QtGui/qpainter_test.py +++ b/sources/pyside6/tests/QtGui/qpainter_test.py @@ -86,12 +86,12 @@ class QPainterDrawText(UsesQGuiApplication): def testDrawOverloads(self): '''Calls QPainter.drawLines overloads, if something is wrong Exception and chaos ensues. Bug #395''' - self.painter.drawLines([QLine(QPoint(0,0), QPoint(1,1))]) - self.painter.drawLines([QPoint(0,0), QPoint(1,1)]) - self.painter.drawLines([QPointF(0,0), QPointF(1,1)]) - self.painter.drawLines([QLineF(QPointF(0,0), QPointF(1,1))]) - self.painter.drawPoints([QPoint(0,0), QPoint(1,1)]) - self.painter.drawPoints([QPointF(0,0), QPointF(1,1)]) + self.painter.drawLines([QLine(QPoint(0, 0), QPoint(1, 1))]) + self.painter.drawLines([QPoint(0, 0), QPoint(1, 1)]) + self.painter.drawLines([QPointF(0, 0), QPointF(1, 1)]) + self.painter.drawLines([QLineF(QPointF(0, 0), QPointF(1, 1))]) + self.painter.drawPoints([QPoint(0, 0), QPoint(1, 1)]) + self.painter.drawPoints([QPointF(0, 0), QPointF(1, 1)]) self.painter.drawConvexPolygon([QPointF(10.0, 80.0), QPointF(20.0, 10.0), QPointF(80.0, 30.0), @@ -122,7 +122,6 @@ class QPainterDrawText(UsesQGuiApplication): self.painter.drawPointsNp(x, y) - class SetBrushWithOtherArgs(UsesQGuiApplication): '''Using qpainter.setBrush with args other than QBrush''' |