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
{{ message }}
Repository navigation
Commit cc18279
Browse filesBrowse the repository at this point in the historyBrowse files
gh-160206: Close connection explicitly in test_ssl (GH-160222)
test_https_client_non_tls_response_ignored() now uses a context
manager for the server and always closes the connection to avoid
ResourceWarning.
Also add a timeout to SingleConnectionTestServerThread.__exit__() to
not hang forever if something goes wrong.
(cherry picked from commit 9d42aee)
Co-authored-by: Victor Stinner <vstinner@python.org>
0 commit comments