Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.13] gh-126483: disable warnings filters mutation in concurrent test (GH-132694)#135132

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedJun 4, 2025
edited by bedevere-appbot
Loading

Thetest_ssl_in_multiple_threads test failed becausetest_check_hostname_idn()
modified the global warnings filters viawarnings_helper.check_no_resource_warning().
Only check for warnings when the context aware warnings feature is enabled, which makes
the warnings filter context-local and thread-safe.
(cherry picked from commit40c8be0)

Co-authored-by: Thomas Graingertagrain@gmail.com

…pythonGH-132694)The `test_ssl_in_multiple_threads` test failed because `test_check_hostname_idn()`modified the global warnings filters via `warnings_helper.check_no_resource_warning()`.Only check for warnings when the context aware warnings feature is enabled, which makesthe warnings filter context-local and thread-safe.(cherry picked from commit40c8be0)Co-authored-by: Thomas Grainger <tagrain@gmail.com>
@colesburycolesburyenabled auto-merge (squash)June 4, 2025 13:22
@colesburycolesbury merged commitae2e795 intopython:3.13Jun 4, 2025
36 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
skip newstestsTests in the Lib/test dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@miss-islington@colesbury@graingert

[8]ページ先頭

©2009-2025 Movatter.jp