aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_667.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_667.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_667.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_667.py b/sources/pyside6/tests/QtWidgets/bug_667.py
index 3cad4e11a..42f9dade3 100644
--- a/sources/pyside6/tests/QtWidgets/bug_667.py
+++ b/sources/pyside6/tests/QtWidgets/bug_667.py
@@ -38,10 +38,12 @@ init_test_paths()
from PySide6.QtCore import QTimer, QPointF
from PySide6.QtWidgets import QApplication, QGraphicsView, QGraphicsScene, QGraphicsEllipseItem
+
class Ball(QGraphicsEllipseItem):
def __init__(self, d, parent=None):
super().__init__(0, 0, d, d, parent)
- self.vel = QPointF(0,0) #commenting this out prevents the crash
+ self.vel = QPointF(0, 0) #commenting this out prevents the crash
+
class Foo(QGraphicsView):
def __init__(self):