bpo-31518: Change TLS protocol for Debian by tiran · Pull Request #3661 · python/cpython

Debian Unstable has disabled TLS 1.0 and 1.1 for SSLv23_METHOD(). Change
TLS/SSL protocol of some tests to PROTOCOL_TLS or PROTOCOL_TLSv1_2 to
make them pass on Debian.

Signed-off-by: Christian Heimes christian@python.org

NOTE: master has already been fixed in PR #3058. I decided against a backport because the PR #3058 touches too much code.

https://bugs.python.org/issue31518