]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787)
authorChristian Heimes <christian@python.org>
Thu, 16 Aug 2018 17:43:44 +0000 (19:43 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Aug 2018 17:43:44 +0000 (19:43 +0200)
commit1590c393360df059160145e7475754427bfc6680
tree66868cceda1fc67c1959e885e086d4f5f490ae3d
parente6a4755e6793942b950c1595e0c34bd66a0ee13e
bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787)

Read from data socket to avoid "[SSL] shutdown while in init" exception
during shutdown of the dummy server.

Signed-off-by: Christian Heimes <christian@python.org>
<!-- issue-number: [bpo-34391](https://www.bugs.python.org/issue34391) -->
https://bugs.python.org/issue34391
<!-- /issue-number -->
Lib/test/test_ftplib.py
Misc/NEWS.d/next/Tests/2018-08-16-18-48-47.bpo-34391.ouNfxC.rst [new file with mode: 0644]