diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2025-06-04 13:25:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-04 13:25:47 (GMT) |
commit | 3b01be24e715ce5f07ea015c9f73450b8abd1f08 (patch) | |
tree | 5fdf4f6443fe735406db7a94e8cb7b16349f80e3 /Python/Python-tokenize.c | |
parent | 5008317dcdd6051a3af0899f051e805234539546 (diff) | |
download | cpython-3b01be24e715ce5f07ea015c9f73450b8abd1f08.zip cpython-3b01be24e715ce5f07ea015c9f73450b8abd1f08.tar.gz cpython-3b01be24e715ce5f07ea015c9f73450b8abd1f08.tar.bz2 |
[3.14] gh-126483: disable warnings filters mutation in concurrent test (GH-132694) (GH-135131)
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 40c8be0008ecadb5d0dc9a017434b1133a3a6e06)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions