On Windows 10, py -3.xx pytest:
python 3.11:
leo\unittests\test_importers.py ...s............................... [ 5%]
============================ warnings summary ============================
leo\plugins\leo_babel\tests\lib_test.py:118
C:\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
=============== 852 passed, 1 skipped, 1 warning in 15.03s ===============
Python 3.10:
leo\unittests\test_importers.py ...s............................... [ 5%]
leo\unittests\core\test_leoAst.py ..............................s.. [ 40%]
============================ warnings summary ============================
leo\plugins\leo_babel\tests\lib_test.py:118
C:\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
=============== 851 passed, 2 skipped, 1 warning in 13.50s ===============
Python 3.9:
leo\unittests\test_importers.py ...s............................... [ 5%]
leo\unittests\core\test_leoAst.py ......................s.......s.. [ 40%]
============================ warnings summary ============================
leo\plugins\leo_babel\tests\lib_test.py:118
C:\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
=============== 850 passed, 3 skipped, 1 warning in 20.97s ===============
Interesting how 3.10 is faster than 3.9 and 3.11.
On Monday, June 19, 2023 at 6:33:32 AM UTC-4 Edward K. Ream wrote:
> Thanks to those who have tested the recent code.
>
> PR #3398 <https://github.com/leo-editor/leo-editor/pull/3398> contains my
> proposed fixes for several failing unit tests.
>
> I have tested this with various versions of python on both Windows and
> Ubuntu.
>
> Please check out the ekr-fix-test branch and report any further problems.
> Thanks.
>
> Edward
>
--
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/57bf6e6c-cfd2-424b-9965-7a3d659f37c1n%40googlegroups.com.