diff options
Diffstat (limited to 'sources/pyside6/tests/QtQml/listproperty.py')
-rw-r--r-- | sources/pyside6/tests/QtQml/listproperty.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtQml/listproperty.py b/sources/pyside6/tests/QtQml/listproperty.py index 17b9ecce5..0e1e3548f 100644 --- a/sources/pyside6/tests/QtQml/listproperty.py +++ b/sources/pyside6/tests/QtQml/listproperty.py @@ -38,12 +38,15 @@ init_test_paths(False) from PySide6.QtCore import QObject from PySide6.QtQml import ListProperty + class InheritsQObject(QObject): pass + def dummyFunc(): pass + class TestListProperty(unittest.TestCase): def testIt(self): @@ -84,5 +87,6 @@ class TestListProperty(unittest.TestCase): self.assertTrue(method_check_error) + if __name__ == '__main__': unittest.main() |