aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_972.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_972.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_972.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_972.py b/sources/pyside6/tests/QtWidgets/bug_972.py
index 12110edee..24f892f19 100644
--- a/sources/pyside6/tests/QtWidgets/bug_972.py
+++ b/sources/pyside6/tests/QtWidgets/bug_972.py
@@ -40,6 +40,7 @@ from PySide6.QtWidgets import QGraphicsProxyWidget, QSizePolicy, QPushButton, QG
from helper.timedqapplication import TimedQApplication
+
def createItem(minimum, preferred, maximum, name):
w = QGraphicsProxyWidget()
@@ -51,6 +52,7 @@ def createItem(minimum, preferred, maximum, name):
return w
+
class TestBug972 (TimedQApplication):
# Test if the function QGraphicsProxyWidget.setWidget have the correct behavior