New submission from Nadeem Vawda <nadeem.va...@gmail.com>: While running test_ssl in verbose mode, I noticed the following exception:
[...] test_protocol_sslv3 (test.test_ssl.ThreadedTests) Connecting to an SSLv3 server with various client options ... SSLv3->SSLv3 CERT_NONE SSLv3->SSLv3 CERT_OPTIONAL SSLv3->SSLv3 CERT_REQUIRED {SSLv23->SSLv3} CERT_NONE Exception in thread Thread-54: Traceback (most recent call last): File "/home/nadeem/src/cpython/def/Lib/threading.py", line 730, in _bootstrap_inner self.run() File "/home/nadeem/src/cpython/def/Lib/test/test_ssl.py", line 926, in run if not self.wrap_conn(): File "/home/nadeem/src/cpython/def/Lib/test/test_ssl.py", line 880, in wrap_conn self.sock, server_side=True) File "/home/nadeem/src/cpython/def/Lib/ssl.py", line 206, in wrap_socket _context=self) File "/home/nadeem/src/cpython/def/Lib/ssl.py", line 293, in __init__ raise x File "/home/nadeem/src/cpython/def/Lib/ssl.py", line 289, in __init__ self.do_handshake() File "/home/nadeem/src/cpython/def/Lib/ssl.py", line 489, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [Errno 104] Connection reset by peer {TLSv1->SSLv3} CERT_NONE SSLv23->SSLv3 CERT_NONE ok [...] Note that the exception is ignored and the test still passes. ---------- components: Tests messages: 152172 nosy: giampaolo.rodola, janssen, nadeem.vawda, pitrou priority: normal severity: normal stage: needs patch status: open title: Ignored exception in test_ssl type: behavior versions: Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13898> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com