forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.12] pythongh-104090: Fix unittest collectedDurations resources leak (
pythonGH-106795) (python#106888) pythongh-104090: Fix unittest collectedDurations resources leak (pythonGH-106795) (cherry picked from commit 70b961e) Co-authored-by: Yonatan Bitton <[email protected]>
- Loading branch information
1 parent
0c106a9
commit b1c50b8
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Tests/2023-07-16-02-57-08.gh-issue-104090.cKtK7g.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Avoid creating a reference to the test object in :meth:`~unittest.TestResult.collectedDurations`. |