summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Tests
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2017-09-05 23:37:09 (GMT)
committerGitHub <noreply@github.com>2017-09-05 23:37:09 (GMT)
commit305e56c27afce605e5d2f71903a966cf0bb95038 (patch)
treec4452d8dbe14c79a6497803e29236c71c6ed4ef2 /Misc/NEWS.d/next/Tests
parent60dbed18509f99af8eaa685d9736f954b8d621fb (diff)
downloadcpython-305e56c27afce605e5d2f71903a966cf0bb95038.zip
cpython-305e56c27afce605e5d2f71903a966cf0bb95038.tar.gz
cpython-305e56c27afce605e5d2f71903a966cf0bb95038.tar.bz2
bpo-31320: No traceback to sys.stderr in test_ssl (#3360)
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>
Diffstat (limited to 'Misc/NEWS.d/next/Tests')
-rw-r--r--Misc/NEWS.d/next/Tests/2017-09-05-14-23-35.bpo-31320.JRDHx7.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2017-09-05-14-23-35.bpo-31320.JRDHx7.rst b/Misc/NEWS.d/next/Tests/2017-09-05-14-23-35.bpo-31320.JRDHx7.rst
new file mode 100644
index 0000000..8b7163d
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2017-09-05-14-23-35.bpo-31320.JRDHx7.rst
@@ -0,0 +1 @@
+Silence traceback in test_ssl