diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/errormessages_with_features_test.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/errormessages_with_features_test.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtCore/errormessages_with_features_test.py b/sources/pyside6/tests/QtCore/errormessages_with_features_test.py index 72452a588..4a515c800 100644 --- a/sources/pyside6/tests/QtCore/errormessages_with_features_test.py +++ b/sources/pyside6/tests/QtCore/errormessages_with_features_test.py @@ -46,9 +46,12 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1])) from init_paths import init_test_paths init_test_paths(False) +from PySide6 import QtCore from PySide6.QtWidgets import QApplication, QLabel from PySide6.support import __feature__ +import inspect + """ errormessages_with_features_test.py ----------------------------------- @@ -120,6 +123,13 @@ class ErrormessagesWithFeatures(unittest.TestCase): qApp.quit_on_last_window_closed = object self.assertTrue(self.probe_miss in cm.exception.args[0]) + def testDocIsWorking(self): + """ + make sure that it does not crash when touched + """ + inspect.getdoc(QApplication) + inspect.getdoc(QtCore) + if __name__ == '__main__': unittest.main() |