-
Notifications
You must be signed in to change notification settings - Fork 840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some tests fails on python 3.13 when using parallel testing #5327
Comments
You'll need to exclude the tests marked as |
Yeah. We expect to have a fix quite soon. |
Okay, thanks |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
Wait, I did not pay attention when closing it, but using
|
I can't reproduce this on MacOS. Could you try again on the latest |
It still does not work. The errors are:
Like before, in single mode those errors does happens. |
Just to confirm that after upgrading to Python 3.13, I'm also now seeing these same tests fail when run in parallel. I thought this might be something to do with the fixture in |
Fixes Textualize#5327. Normally when running tests with Textual, the default size of the simulated app is 80x24. However it seems when tests are run in parallel with xdist on Python 3.13, `app.console.height` returns the _actual_ height of the terminal, causing tests to fail.
As the title said, when using python 3.13, the tests in
tests/text_area
fails, despite succeeding on other python version and when not running in parallel.Here are the logs: (add
| tee pytest_[]_python3.13.txt
to the command)pytest_parallel_python3.13.txt
pytest_single_python3.13.txt
(Note that
tests/text_area/test_languages.py::test_register_language
andtests/text_area/test_languages.py::test_register_language_existing_language
fails both time, so we don't care about them, andtests/snapshot_tests/test_snapshots.py
would just pollute the logs errors)The text was updated successfully, but these errors were encountered: