Nick Coghlan added the comment:

I've attached the patch for my initial attempt at addressing this, but I think 
my results show I went down completely the wrong path.

Specifically, the three new tests are "failing":

FAIL: test_protocol_sslv23_not_available (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
AssertionError: Client protocol PROTOCOL_SSLv23 succeeded with server protocol 
PROTOCOL_SSLv23!

FAIL: test_protocol_sslv2_not_available (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
AssertionError: Client protocol SSLv2 succeeded with server protocol SSLv2!

FAIL: test_protocol_sslv3_not_available (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------
AssertionError: Client protocol PROTOCOL_SSLv3 succeeded with server protocol 
PROTOCOL_SSLv3!

So I'm going to revert this attempt entirely, and instead start by introducing 
some appropriate use of subtests to get more info out of the failing examples.

----------
keywords: +patch
versions: +Python 2.7, Python 3.4, Python 3.6
Added file: 
http://bugs.python.org/file39871/issue23965_check_sslv23_support.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23965>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to