Skip to content

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

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-6f7fb6c-3.15
Open

[3.15] gh-155423: Make BaseFileTest.tearDown() in test_logging robust (GH-155424)#155441
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-6f7fb6c-3.15

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants