aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/mac/qmacstyle_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/mac/qmacstyle_test.py')
-rw-r--r--sources/pyside6/tests/mac/qmacstyle_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/mac/qmacstyle_test.py b/sources/pyside6/tests/mac/qmacstyle_test.py
index 9b745cb1b..ab430c343 100644
--- a/sources/pyside6/tests/mac/qmacstyle_test.py
+++ b/sources/pyside6/tests/mac/qmacstyle_test.py
@@ -42,6 +42,7 @@ from PySide6.QtCore import QObject
from helper.usesqapplication import UsesQApplication
+
class QMacStyleTest(UsesQApplication):
def setUp(self):
UsesQApplication.setUp(self)
@@ -51,5 +52,6 @@ class QMacStyleTest(UsesQApplication):
w = QLabel('Hello')
self.assertTrue(isinstance(w.style(), self.QMacStyle))
+
if __name__ == '__main__':
unittest.main()