]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35925: Skip SSL tests that fail due to weak external certs. (GH-13124)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 May 2019 03:51:25 +0000 (20:51 -0700)
committerGitHub <noreply@github.com>
Tue, 7 May 2019 03:51:25 +0000 (20:51 -0700)
commitffa29b5aca1aaeae46af2582c401ef0ed20d4153
treefe7e7b2b8f170ccf310577872bbaa3781cf305b8
parentb2d29bfa5be5a0794c7c69078c43953967fcacf4
bpo-35925: Skip SSL tests that fail due to weak external certs. (GH-13124)

Modern Linux distros such as Debian Buster have default OpenSSL system
configurations that reject connections to servers with weak certificates
by default.  This causes our test suite run with external networking
resources enabled to skip these tests when they encounter such a failure.

Fixing the network servers is a separate issue.
(cherry picked from commit 2cc0223f43a1ffd59c887a73e2b0ce5202f3be90)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/test/test_httplib.py
Lib/test/test_nntplib.py
Misc/NEWS.d/next/Tests/2019-05-06-18-29-54.bpo-35925.gwQPuC.rst [new file with mode: 0644]