I pulled latest devel on my *windows* 10 machine, All tests pass on* python
3.11.*
I then pulled the latest devel on my *linux* machine. tested in *python 3.9
and 3.10.* they both give the same two failed tests:
======================================================================
FAIL: test_TryStar (leo.unittests.core.test_leoAst.TestTOG)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/felix/leo-editor/leo/unittests/core/test_leoAst.py", line
1138, in test_TryStar
self.make_data(contents)
File "/home/felix/leo-editor/leo/unittests/core/test_leoAst.py", line
181, in make_data
self.fail('make_tree failed') # pragma: no cover
AssertionError: make_tree failed
======================================================================
FAIL: test_recursive_import
(leo.unittests.core.test_leoImport.TestLeoImport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/felix/leo-editor/leo/unittests/core/test_leoImport.py", line
105, in test_recursive_import
x.minimize_headline(root)
File "/home/felix/leo-editor/leo/core/leoImport.py", line 1785, in
minimize_headline
assert os.path.isabs(self.root_directory)
AssertionError
----------------------------------------------------------------------
Ran 853 tests in 6.481s
FAILED (failures=2, skipped=18)
(I'll report in a few minutes for results of testing on my other windows
machine which has python 3.9 and 3.10.)
On Sunday, June 18, 2023 at 10:35:18 PM UTC-4 [email protected] wrote:
> Python 3.10 on Ubuntu:
>
> =============================== warnings summary
> ===============================
>
> leo/plugins/leo_babel/tests/lib_test.py:118
>
> /home/tom/git/leo-editor/leo/plugins/leo_babel/tests/lib_test.py:118:
> PytestCollectionWarning: cannot collect test class 'TestCmdr' because it
> has a __init__ constructor (from: leo/plugins/leo_babel/tests/lib_test.py)
>
> class TestCmdr:
>
>
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
>
> =========================== short test summary info
> ============================
>
> FAILED leo/unittests/core/test_leoAst.py::TestTOG::test_TryStar -
> AssertionError: make_tree failed
>
> FAILED
> leo/unittests/core/test_leoImport.py::TestLeoImport::test_recursive_import
> - AssertionError
>
> ============= 2 failed, 850 passed, 1 skipped, 1 warning in 11.32s
> =============
>
> Leo 6.7.4-devel, tbp-tree branch, build e58396da1b
>
> 2023-06-18 18:19:34 -0500
> Python 3.10.6, PyQt version 6.3.2
> linux
>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/e2842042-78c1-4247-9770-e7802b0266dcn%40googlegroups.com.