Skip to content

[3.13] gh-155423: Make BaseFileTest.tearDown() in test_logging robust (GH-155424) - #155442

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-6f7fb6c-3.13
Aug 9, 2026
Merged

[3.13] gh-155423: Make BaseFileTest.tearDown() in test_logging robust (GH-155424)#155442
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-6f7fb6c-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Always call BaseTest.tearDown(), which removes the handlers added by
setUp(), even if unlinking the log files fails. Tolerate an already
removed file.
(cherry picked from commit 6f7fb6c)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…ythonGH-155424)

Always call BaseTest.tearDown(), which removes the handlers added by
setUp(), even if unlinking the log files fails.  Tolerate an already
removed file.
(cherry picked from commit 6f7fb6c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
miss-islington requested a review from vsajip as a code owner August 9, 2026 16:59
@bedevere-app bedevere-app Bot added the tests Tests in the Lib/test dir label Aug 9, 2026
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) August 9, 2026 17:00
@serhiy-storchaka
serhiy-storchaka merged commit def1575 into python:3.13 Aug 9, 2026
43 checks passed
@miss-islington
miss-islington deleted the backport-6f7fb6c-3.13 branch August 9, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants