]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-109845: Make test_ftplib more stable under load (GH-109912) (GH-109920)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 26 Sep 2023 20:23:20 +0000 (13:23 -0700)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2023 20:23:20 +0000 (20:23 +0000)
commit4e66eca489a33dc81d676037a456e85c50c81123
treed7086992483f86a295b4fa7bdf89ece77dab19cc
parentf764abb3752574f8f4c2d6fd2ed3aa1346fd2aee
[3.11] gh-109845: Make test_ftplib more stable under load (GH-109912) (GH-109920)

recv() can return partial data cut in the middle of a multibyte
character. Test raw binary data instead of data incorrectly decoded by parts.
(cherry picked from commit 2ef2fffe3be953b91852585c75188d5475b09474)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_ftplib.py