diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/qproperty_decorator.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/qproperty_decorator.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtCore/qproperty_decorator.py b/sources/pyside6/tests/QtCore/qproperty_decorator.py index 3d9503272..424b9dc9a 100644 --- a/sources/pyside6/tests/QtCore/qproperty_decorator.py +++ b/sources/pyside6/tests/QtCore/qproperty_decorator.py @@ -38,6 +38,7 @@ init_test_paths(False) from PySide6.QtCore import QObject, Property + class MyObject(QObject): def __init__(self): super().__init__() @@ -68,5 +69,6 @@ class PropertyTest(unittest.TestCase): del o self.assertTrue(self._obDestroyed) + if __name__ == '__main__': unittest.main() |