diff options
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_667.py')
-rw-r--r-- | sources/pyside6/tests/QtWidgets/bug_667.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_667.py b/sources/pyside6/tests/QtWidgets/bug_667.py index 2fa306a9c..3cad4e11a 100644 --- a/sources/pyside6/tests/QtWidgets/bug_667.py +++ b/sources/pyside6/tests/QtWidgets/bug_667.py @@ -40,12 +40,12 @@ from PySide6.QtWidgets import QApplication, QGraphicsView, QGraphicsScene, QGrap class Ball(QGraphicsEllipseItem): def __init__(self, d, parent=None): - super(Ball, self).__init__(0, 0, d, d, parent) + super().__init__(0, 0, d, d, parent) self.vel = QPointF(0,0) #commenting this out prevents the crash class Foo(QGraphicsView): def __init__(self): - super(Foo, self).__init__(None) + super().__init__(None) self.scene = QGraphicsScene(self.rect()) self.setScene(self.scene) self.scene.addItem(Ball(10)) |