diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/qfileinfo_test.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/qfileinfo_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtCore/qfileinfo_test.py b/sources/pyside6/tests/QtCore/qfileinfo_test.py index 3049a8fc1..bbdd4bce9 100644 --- a/sources/pyside6/tests/QtCore/qfileinfo_test.py +++ b/sources/pyside6/tests/QtCore/qfileinfo_test.py @@ -38,6 +38,7 @@ init_test_paths(False) from PySide6.QtCore import QFile, QFileInfo + class QFileConstructor(unittest.TestCase): '''QFileInfo constructor with qfile''' @@ -45,5 +46,6 @@ class QFileConstructor(unittest.TestCase): '''QFileInfo(QFile)''' obj = QFileInfo(QFile()) + if __name__ == '__main__': unittest.main() |