aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtUiTools/bug_909.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtUiTools/bug_909.py')
-rw-r--r--sources/pyside6/tests/QtUiTools/bug_909.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtUiTools/bug_909.py b/sources/pyside6/tests/QtUiTools/bug_909.py
index ce963f31f..96e1d1fa8 100644
--- a/sources/pyside6/tests/QtUiTools/bug_909.py
+++ b/sources/pyside6/tests/QtUiTools/bug_909.py
@@ -41,6 +41,7 @@ from PySide6.QtUiTools import QUiLoader
from helper.usesqapplication import UsesQApplication
+
class TestDestruction(UsesQApplication):
def testBug909(self):
file = Path(__file__).resolve().parent / 'bug_909.ui'
@@ -55,5 +56,6 @@ class TestDestruction(UsesQApplication):
main_win.setCentralWidget(tw)
main_win.show()
+
if __name__ == '__main__':
unittest.main()