-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
random failures when running test_conn with Python 3.13 #734
Comments
Thanks for reporting! Sounds like pytest's warning tracking feature detects an exception that was being ignored silently in older CPython releases. A short-term workaround for the tests could be adding an ignore entry to |
I tried adding Adding |
Yeah, it sounds like there's a race condition somewhere. If you send a PR with that but a more granular ignore matching the specific message, I'm open to accepting it as an immediate workaround. |
Let's keep this open until the real fix can be implemented. |
β I'm submitting a ...
π Describe the bug. What is the current behavior?
And one more failure with Python 3.13: when running
cheroot/test/test_conn.py
, I am seeing one of the tests fail with the following error:I saw the following three fail:
test_streaming_10[True]
,test_keepalive[HTTP/1.0]
,test_keepalive[HTTP/1.1]
with this error, although it's always just one for each run (and it seems random).This again seems to be related to the following io change:
https://docs.python.org/3/whatsnew/3.13.html#io
I wasn't able to find a fix for this one.
π‘ To Reproduce
Run the test suite with Python 3.13.0.
π Details
Full traceback:
π Environment
The text was updated successfully, but these errors were encountered: