aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_307.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_307.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_307.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_307.py b/sources/pyside6/tests/QtWidgets/bug_307.py
index 19da5148e..92b0a5973 100644
--- a/sources/pyside6/tests/QtWidgets/bug_307.py
+++ b/sources/pyside6/tests/QtWidgets/bug_307.py
@@ -40,8 +40,8 @@ from PySide6.QtCore import SIGNAL
from PySide6.QtWidgets import QPushButton, QApplication
-class Test (QApplication) :
- def __init__(self, argv) :
+class Test (QApplication):
+ def __init__(self, argv):
super().__init__(argv)
self._called = False
@@ -57,5 +57,6 @@ class QApplicationSignalsTest(unittest.TestCase):
button.click()
self.assertTrue(app._called)
+
if __name__ == '__main__':
unittest.main()