Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 16, 2025

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