]> granicus.if.org Git - python/commit
bpo-37322: ssl test_pha_required_nocert() ignores expected SSLError (GH-14670)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 9 Jul 2019 12:55:08 +0000 (05:55 -0700)
committerGitHub <noreply@github.com>
Tue, 9 Jul 2019 12:55:08 +0000 (05:55 -0700)
commit4c403b8ca2d0ef44b691cceaeeac9e110fd3f05a
tree8218c4d24f932831ce2c7d489f430e314dce8b58
parentbbad695e7890513be7a9bc662e2d8ae13bfcd313
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).
(cherry picked from commit 73ea54620a6f91c3f2e53880373dd47813691a21)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_ssl.py