Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-104090: Fix unittest collectedDurations resources leak#106795
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
gh-104090: Fix unittest collectedDurations resources leak #106795
Uh oh!
There was an error while loading. Please reload this page.
Conversation
bityob commented Jul 15, 2023 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
bedevere-bot commented Jul 15, 2023
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
cdbe1c4 to 8cd162fCompareiritkatriel commented Jul 16, 2023
I think it might be better to split this into two PRs (attached to the same issue), one for the unittest fix and the other for the resource tracker change. |
5585599 to 509636aComparebedevere-bot commented Jul 16, 2023
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
bityob commented Jul 16, 2023
Done Second PR: #106807 |
iritkatriel commented Jul 16, 2023
CC unittest maintainers. @gpshead@ezio-melotti See issue for motivation. |
iritkatriel commented Jul 17, 2023
@giampaolo addDuration was added in 3.12. Should this be backported as a bugfix? |
…_concurrent_futures
sunmy2019 commented Jul 18, 2023
Is this new entry necessary?
+1 from me |
bedevere-bot commented Jul 18, 2023
🤖 New build scheduled with the buildbot fleet by @sunmy2019 for commit d493239 🤖 If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Misc/NEWS.d/next/Tests/2023-07-16-02-57-08.gh-issue-104090.cKtK7g.rst Outdated Show resolvedHide resolved
Uh oh!
There was an error while loading. Please reload this page.
giampaolo commented Jul 19, 2023 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@iritkatriel wrote:
Hi! Yes, I think it should be backported. |
miss-islington commented Jul 19, 2023
Thanks @bityob for the PR, and @iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
bedevere-bot commented Jul 19, 2023
GH-106888 is a backport of this pull request to the 3.12 branch. |
…onGH-106795) (cherry picked from commit 70b961e) Co-authored-by: Yonatan Bitton <bityob@gmail.com>
miss-islington commented Jul 19, 2023
Thanks @bityob for the PR, and @iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…onGH-106795) (cherry picked from commit 70b961e) Co-authored-by: Yonatan Bitton <bityob@gmail.com>
gpshead commented Jul 19, 2023
thanks for figuring this out! |
TestResult.addDurationmethod to add only test repr string and not the test object itself, to avoid resources leak@iritkatriel