Skip to content

gh-128384: Fix for unreliable warnings unit tests. - #132611

Merged
nascheme merged 2 commits into
python:mainfrom
nascheme:gh-128384-test-fix
Apr 16, 2025
Merged

gh-128384: Fix for unreliable warnings unit tests.#132611
nascheme merged 2 commits into
python:mainfrom
nascheme:gh-128384-test-fix

Conversation

@nascheme

Copy link
Copy Markdown
Member

When the showwarning() function is replaced, make sure to restore it after the test finishes. Add a timeout for Barrier() so we don't hang for a long time if something goes wrong.

When the showwarning() function is replaced, make sure to restore
it after the test finishes. Add a timeout for `Barrier()` so we
don't hang for a long time if something goes wrong.
@nascheme
nascheme merged commit 591c982 into python:mainApr 16, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issueskip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@nascheme