diff options
author | Thomas Grainger <tagrain@gmail.com> | 2025-06-04 14:00:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-04 09:00:25 -0400 |
commit | 40c8be0008ecadb5d0dc9a017434b1133a3a6e06 (patch) | |
tree | 9978e68196b30363505ec0f69605e33ec771b2f8 /Python/errors.c | |
parent | bc00ce941e03347dade3faa8822f19836b5bbfe4 (diff) | |
download | cpython-40c8be0008ecadb5d0dc9a017434b1133a3a6e06.tar.gz cpython-40c8be0008ecadb5d0dc9a017434b1133a3a6e06.zip |
gh-126483: disable warnings filters mutation in concurrent test (GH-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.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions