Commit ae2e795
[3.13] pythongh-126483: disable warnings filters mutation in concurrent test (pythonGH-132694) (pythonGH-135132)
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()`.
Disable the warnings check in the multi-threaded test because `warnings_helper` isn't
thread-safe in 3.13 or earlier.
(cherry picked from commit 40c8be0)
Co-authored-by: Thomas Grainger <[email protected]>
* Fix for 3.13
---------
Co-authored-by: Thomas Grainger <[email protected]>
Co-authored-by: Sam Gross <[email protected]>1 parent 70c7aad commit ae2e795
1 file changed
+30
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
2879 | 2880 | | |
2880 | 2881 | | |
2881 | 2882 | | |
2882 | | - | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
2883 | 2887 | | |
2884 | 2888 | | |
2885 | 2889 | | |
| |||
3125 | 3129 | | |
3126 | 3130 | | |
3127 | 3131 | | |
3128 | | - | |
| 3132 | + | |
3129 | 3133 | | |
3130 | 3134 | | |
3131 | 3135 | | |
| |||
3180 | 3184 | | |
3181 | 3185 | | |
3182 | 3186 | | |
3183 | | - | |
3184 | | - | |
3185 | | - | |
3186 | | - | |
3187 | | - | |
3188 | | - | |
3189 | | - | |
3190 | | - | |
3191 | | - | |
3192 | | - | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + | |
| 3192 | + | |
| 3193 | + | |
| 3194 | + | |
| 3195 | + | |
| 3196 | + | |
| 3197 | + | |
| 3198 | + | |
| 3199 | + | |
| 3200 | + | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
3193 | 3211 | | |
3194 | 3212 | | |
3195 | 3213 | | |
| |||
0 commit comments