]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.6] bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787) (#8790)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 16 Aug 2018 19:38:03 +0000 (15:38 -0400)
committerChristian Heimes <christian@python.org>
Thu, 16 Aug 2018 19:38:03 +0000 (21:38 +0200)
commitcabe916dc694997d4892b58986e73a713d5a2f8d
tree012c9cb1e6703b0fd55514c9be3e2958e2d696b5
parentb14ab447ee3f47d479d899b4001d870569a76c44
[3.6] bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787) (#8790)

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]