]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44359: Fix test_ftplib unhandled thread exceptions (GH-31069)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 2 Feb 2022 02:12:27 +0000 (18:12 -0800)
committerGitHub <noreply@github.com>
Wed, 2 Feb 2022 02:12:27 +0000 (18:12 -0800)
commit85b421fbff23ff41c52fa5bde191920b3701f0d0
tree1b301d137cb76b6c2b17131530198f9b1796698f
parent7dee93c2d223a080f410f6901987e9d363743471
bpo-44359: Fix test_ftplib unhandled thread exceptions (GH-31069)

test_ftplib now silently ignores socket errors to prevent logging
unhandled threading exceptions.
(cherry picked from commit 0611eafc709cbe8a2a0bdde082d25df0c5034de7)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_ftplib.py
Misc/NEWS.d/next/Tests/2022-02-02-02-24-04.bpo-44359.kPPSmN.rst [new file with mode: 0644]