KEMBAR78
gh-128384: Fix for unreliable warnings unit tests. by nascheme · Pull Request #132611 · python/cpython · GitHub
Skip to content

Conversation

@nascheme
Copy link
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:main Apr 16, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant