You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @chwt, sorry for the slow response. I have various issues with tests failing on Windows also, though my error messages are different, and it's only when running poe test. Weirdly, the Windows Server machines that run our tests on GitHub seem to be fine, so I always thought it was just something odd about my environment.
Running poe test on Windows uses tox, which I think is the main problem with these errors. tox has features related to colors and screen sizes that I think work better in Linux than Windows, and jrnl has behaviors that vary based on these things, which is why I believe it's an issue. Because of these problems, I bypass this process in my local Windows environment. I would think that your WSL environment would still work, though, if you're running all your commands in Linux.
Do you use poetry to run pytest? I wonder if that's the cause of the errors you're getting when running pytest by itself, since it might be missing dependencies if not. Still, I'd expect different test failures if that was the case.
Also, I wonder if these tests are locale-specific. When I run Get-WinSystemLocale in PowerShell my locale name is en-US. Maybe if yours is different, that could explain some of these errors.
You might have better luck with a more recent version of Python. While jrnl technically supports Python 3.10 now, we will be dropping support for it soon within the next year.
Diagnostic output
jrnl: v4.1
Python: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
OS: Windows 10
(note: it is Windows 11)
What are you trying to do?
Running both
poe test
pytest
on current develop branch return failed tests.
Running from both PowerShell 7.4.5 and WSL
poe summary:
test-failure-poe.txt
pytest summary:
test-failure-pytest.txt
What have you tried?
n/a
Other Information
No response
The text was updated successfully, but these errors were encountered: