Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 4, 2025

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 makes
the warnings filter context-local and thread-safe.
(cherry picked from commit 40c8be0)

Co-authored-by: Thomas Grainger [email protected]

…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 makes
the warnings filter context-local and thread-safe.
(cherry picked from commit 40c8be0)

Co-authored-by: Thomas Grainger <[email protected]>
@colesbury colesbury enabled auto-merge (squash) June 4, 2025 13:22
@colesbury colesbury merged commit ae2e795 into python:3.13 Jun 4, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants