Hello Edward, Edward K. Ream schrieb am Freitag, 16. Juni 2023 um 23:37:42 UTC+2:
PR #3389 <https://github.com/leo-editor/leo-editor/pull/3389> defines four simple helper functions in leoGlobals.py. Imo these four functions do more than the entire argparse module. They are simpler, easier and more flexible. Thanks again to Thomas for his careful reading of the code. I tested the 'leo-editor:devel' branch again in a Fedora 37 VM. Running Leo's unit tests reports one error: :: (Leo) [user@fedora-leo-study-vm Leo]$ (Leo) [user@fedora-leo-study-vm Leo]$ cd leo-editor/leo (Leo) [user@fedora-leo-study-vm leo]$ python -m unittest ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ................................................................................ ......................F......................................................... ............................s................................................... ..................... (python:1804): Gdk-CRITICAL **: 08:03:14.903: gdk_atom_intern: assertion 'atom_name != NULL' failed (python:1804): Gdk-CRITICAL **: 08:03:14.903: gdk_atom_intern: assertion 'atom_name != NULL' failed .........s...................................................................... ....................cursesGui2.py: Tk module required for clipboard handling. s......... ====================================================================== FAIL: test_recursive_import (unittests.core.test_leoImport.TestLeoImport.test_recursive_import) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/unittests/core/test_leoImport.py", line 106, in test_recursive_import self.assertEqual(root.h, expected) AssertionError: 'path: ekr-mypy2/mypy' != 'path: mypy' - path: ekr-mypy2/mypy + path: mypy ---------------------------------------------------------------------- Ran 851 tests in 5.954s FAILED (failures=1, skipped=3) (Leo) [user@fedora-leo-study-vm leo]$ With kind regards, Viktor -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/6d2f6741-05ef-43ab-b9ea-95e681668fb9n%40googlegroups.com.