]> granicus.if.org Git - python/commit
bpo-37322: ssl test_pha_required_nocert() ignores expected SSLError (GH-14670)
authorVictor Stinner <vstinner@redhat.com>
Tue, 9 Jul 2019 12:33:49 +0000 (14:33 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2019 12:33:49 +0000 (14:33 +0200)
commit73ea54620a6f91c3f2e53880373dd47813691a21
treee2c29b81ebc31d25b0eb3103bbe1d3f42a5ca67c
parent430a9f44fe22f029ae8cfeecb46621d7e199414b
bpo-37322: ssl test_pha_required_nocert() ignores expected SSLError (GH-14670)

test_ssl.test_pha_required_nocert() now uses
support.catch_threading_exception() to ignore the expected SSLError
in ConnectionHandler of ThreadedEchoServer (it is only raised
sometimes on Windows).
Lib/test/test_ssl.py