]> granicus.if.org Git - python/commit
bpo-36576: Skip test_ssl and test_asyncio tests failing with OpenSSL 1.1.1 (#12694)
authorVictor Stinner <vstinner@redhat.com>
Sat, 7 Sep 2019 06:06:27 +0000 (08:06 +0200)
committerlarryhastings <larry@hastings.org>
Sat, 7 Sep 2019 06:06:27 +0000 (07:06 +0100)
commit4d1c2541c125fe9d211016193ebfd5899a8511aa
treeb3d806b71c71002d32c450118a303414a40f5a39
parent063eba280a11d3c9a5dd9ee5abe4de640907951b
bpo-36576: Skip test_ssl and test_asyncio tests failing with OpenSSL 1.1.1 (#12694)

Some test_ssl and test_asyncio tests were written for OpenSSL 1.0 and TLS 1.0, but fail with OpenSSL 1.1.1 and TLS 1.3.  Fixing these requires backporting new ssl flags like ssl.OP_NO_TLSv1_3 or ssl.OP_NO_COMPRESSION, which is inappropriate at this stage in Python 3.5's lifetime. Moreover, it's not really worth it: the code works fine, the problem is just in the tests.  This patch disables those problematic tests when Python 3.5 is built using newer versions of OpenSSL.
Lib/test/test_asyncio/test_events.py
Lib/test/test_ssl.py
Misc/NEWS.d/next/Tests/2019-04-05-10-34-29.bpo-36576.7Cp2kK.rst [new file with mode: 0644]