]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109845: Make test_ftplib more stable under load (GH-109912) (#109919)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Oct 2023 15:38:07 +0000 (08:38 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 15:38:07 +0000 (17:38 +0200)
commit1f622004c533aaf6eace434e73ac353d90fce9b2
treef960b9ead37ce734a78c40ead18ff668c22a3021
parentb0e377f694c2b86a0155784386a9f1ccf57af97e
[3.12] gh-109845: Make test_ftplib more stable under load (GH-109912) (#109919)

gh-109845: Make test_ftplib more stable under load (GH-109912)

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