aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtGui/bug_480.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtGui/bug_480.py')
-rw-r--r--sources/pyside6/tests/QtGui/bug_480.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtGui/bug_480.py b/sources/pyside6/tests/QtGui/bug_480.py
index 39707fb01..cd3fd1d6b 100644
--- a/sources/pyside6/tests/QtGui/bug_480.py
+++ b/sources/pyside6/tests/QtGui/bug_480.py
@@ -49,6 +49,7 @@ class BuggyWidget(QWidget):
# this cause a segfault during the ownership transfer
self.verticalLayout.addLayout(self.gridLayout)
+
class LayoutTransferOwnerShip(unittest.TestCase):
def testBug(self):
app = QApplication([])
@@ -57,6 +58,7 @@ class LayoutTransferOwnerShip(unittest.TestCase):
w.show()
self.assertTrue(True)
+
if __name__ == '__main__':
unittest.main()