]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43921: Fix test_ssl.test_wrong_cert_tls13() on Windows (GH-26502) (GH-26518)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 3 Jun 2021 20:15:15 +0000 (13:15 -0700)
committerGitHub <noreply@github.com>
Thu, 3 Jun 2021 20:15:15 +0000 (22:15 +0200)
commitd2ab15f5376aa06ed120164f1b84bb40adbdd068
tree17b70ff2db9adb34b4d0ada0af5187ebdd8c252d
parentcea0585b7939b487d7089f9d473f495264e8a491
bpo-43921: Fix test_ssl.test_wrong_cert_tls13() on Windows (GH-26502) (GH-26518)

Fix test_ssl.test_wrong_cert_tls13(): use suppress_ragged_eofs=False,
since read() can raise ssl.SSLEOFError on Windows.
(cherry picked from commit ea0210fa8ccca769896847f25fc6fadfe9a717bc)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_ssl.py
Misc/NEWS.d/next/Tests/2021-06-03-03-29-34.bpo-43921.nwH1FS.rst [new file with mode: 0644]