diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/qobject_property_test.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/qobject_property_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtCore/qobject_property_test.py b/sources/pyside6/tests/QtCore/qobject_property_test.py index 7abe3ede0..d141a97df 100644 --- a/sources/pyside6/tests/QtCore/qobject_property_test.py +++ b/sources/pyside6/tests/QtCore/qobject_property_test.py @@ -39,6 +39,7 @@ init_test_paths(False) from PySide6.QtCore import QObject, Property, Signal + class MyObjectWithNotifyProperty(QObject): def __init__(self, parent=None): QObject.__init__(self, parent) @@ -54,6 +55,7 @@ class MyObjectWithNotifyProperty(QObject): notifyP = Signal() myProperty = Property(int, readP, fset=writeP, notify=notifyP) + class PropertyWithNotify(unittest.TestCase): def called(self): self.called_ = True |