]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787) (GH-8789)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 16 Aug 2018 19:37:20 +0000 (15:37 -0400)
committerChristian Heimes <christian@python.org>
Thu, 16 Aug 2018 19:37:20 +0000 (21:37 +0200)
commit870247a57e84ccaa3f6a6ce955f4168632b967a8
treefd5f939fd47b20d1f9f3d4fb7769b119314e5f1a
parentbf8e9d18dd75f58ce3b9761763ae10c0800b43d8
[3.7] bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787) (GH-8789)

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 -->
(cherry picked from commit 1590c393360df059160145e7475754427bfc6680)

Co-authored-by: Christian Heimes <christian@python.org>
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]