-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Bump pytest to 8.0.0 #3335
Bump pytest to 8.0.0 #3335
Conversation
Umm, In current main I tested with pytest 7.4.4 and
passed. With pytest 8.0.0 it fails:
The changelog mentions some changes regarding |
With pytest 8.0.0
So I guess it's more related to pytest collect the test, since TestHTTPS_TLSv1_3 was meant to be SKIPPED with |
I think we can bump the memory limit in |
This sounds good to me! But can we report it to pytest-memray first? |
Since it's relevant to this discussion
Copying my comment from #3337 (comment)
... |
My understanding is that objects created during one test may not be deleted immediately, so if you allocate two strings of 1MB each, if Python does not release the memory of the first string immediately, your test will use 2MB of memory. But objects created by one should not be leaking into another test, I think? |
I created bloomberg/pytest-memray#109
Just to clarify here you refer to the suspicion that the allocations of 64.0KiB bllow on ssl.py:1107 does not really belong to the When we run this test in isolation the test passes, but if we run
|
thanks to @pablogsal, for actually finding the culprit. There are several test cases that leave lingering I've created #3358, to ensure that the |
Closing in favor of #3358. Thanks @pablogsal! |
Changelog: https://docs.pytest.org/en/8.0.x/changelog.html#pytest-8-0-0-2024-01-27