You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add to your description: check_no_resource_warning() uses warnings.filterwarnings and warnings.catch_warnings, which are not thread-safe in Python (even with the GIL).
So it's not safe to run test_check_hostname_idn from multiple threads concurrently like test_ssl_in_multiple_threads is doing.
On a Free Threaded build, test_ssl fails with:
The problem comes from
test_check_hostname_idn()
which useswarnings_helper.check_no_resource_warning()
(changes warnings filters).The text was updated successfully, but these errors were encountered: