diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/qstring_test.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/qstring_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtCore/qstring_test.py b/sources/pyside6/tests/QtCore/qstring_test.py index a07a559a3..a43b2b94a 100644 --- a/sources/pyside6/tests/QtCore/qstring_test.py +++ b/sources/pyside6/tests/QtCore/qstring_test.py @@ -42,6 +42,7 @@ init_test_paths(False) from PySide6.QtCore import QObject + class QStringConstructor(unittest.TestCase): '''Test case for QString constructors''' @@ -54,5 +55,6 @@ class QStringConstructor(unittest.TestCase): obj.setObjectName(None) self.assertEqual(obj.objectName(), '') + if __name__ == '__main__': unittest.main() |