On Linux/Manjaro there is the same warning, but it only skipped 3 tests 
instead of 26.  It too a few seconds longer than on XUbuntu.

On Sunday, February 4, 2024 at 2:41:44 PM UTC-5 Thomas Passin wrote:

> For the recent merge in devel, 08fcbac60bc296b2e636c3467daf29022b03231b, 
> there is still a warning from XUbuntu:
>
> =============================== 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
> ================== 905 passed, 26 skipped, 1 warning in 8.84s 
> ==================
>
> There is a similar warning on Windows 10:
>
> ============================ 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
> =============== 929 passed, 2 skipped, 1 warning in 21.87s ===============
>
> Interesting how much faster the tests run in Linux than Windows.
> On Sunday, February 4, 2024 at 3:38:37 AM UTC-5 Edward K. Ream wrote:
>
>> On Sat, Feb 3, 2024 at 9:01 AM Thomas Passin wrote:
>>
>>> On Windows 10, Python 3.12 -
>>
>> 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)
>>>
>> ...
>>
>> Thanks for this report. See #3778 
>> <https://github.com/leo-editor/leo-editor/issues/3778>.
>>
>> 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/fc0c62ea-58d1-4cc3-aa4e-df8620daaf3cn%40googlegroups.com.

Reply via email to