diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/qobject_objectproperty_test.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/qobject_objectproperty_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtCore/qobject_objectproperty_test.py b/sources/pyside6/tests/QtCore/qobject_objectproperty_test.py index f799a96d0..9143355f2 100644 --- a/sources/pyside6/tests/QtCore/qobject_objectproperty_test.py +++ b/sources/pyside6/tests/QtCore/qobject_objectproperty_test.py @@ -44,6 +44,7 @@ init_test_paths(False) from PySide6.QtCore import QObject + class ExtQObject(QObject): def __init__(self): # "foobar" will become a object attribute that will not be @@ -55,12 +56,14 @@ class ExtQObject(QObject): # definition of "self.foobar". super().__init__() + class TestBug378(unittest.TestCase): '''Test case for the bug #378''' def testBug378(self): obj = ExtQObject() + if __name__ == '__main__': unittest.main() |