diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-09-06 01:11:31 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-09-06 01:11:31 (GMT) |
commit | c506403faf8dbfc8baf4212e8e2aedb7268acb5e (patch) | |
tree | ee3b721e6f799641314b2e30536e88e0f51c72cd /Python/errors.c | |
parent | 56b56e3da006279b9b09d73db2f13ab3d88ee996 (diff) | |
download | cpython-c506403faf8dbfc8baf4212e8e2aedb7268acb5e.zip cpython-c506403faf8dbfc8baf4212e8e2aedb7268acb5e.tar.gz cpython-c506403faf8dbfc8baf4212e8e2aedb7268acb5e.tar.bz2 |
[3.6] bpo-31320: No traceback to sys.stderr in test_ssl (GH-3360) (GH-3369)
In case PROTOCOL_TLS_SERVER is used for both client context and server
context, the test thread dies with OSError. Catch OSError to avoid
traceback on sys.stderr
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 305e56c27afce605e5d2f71903a966cf0bb95038)
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions