]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36629: Add support.get_socket_conn_refused_errs() (GH-12834) (GH-12835)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 15 Apr 2019 10:49:37 +0000 (03:49 -0700)
committerVictor Stinner <vstinner@redhat.com>
Mon, 15 Apr 2019 10:49:37 +0000 (12:49 +0200)
commit28ed39e83e4c545fa1da89fd7691cace280296f7
tree876f9f4c2ee35ad8c399200971bc9b24e6a98446
parent9f9e029bd2223ecba46eaefecadf0ac252d891f2
bpo-36629: Add support.get_socket_conn_refused_errs() (GH-12834) (GH-12835)

Fix test_imap4_host_default_value() of test_imaplib: catch also
errno.ENETUNREACH error.
(cherry picked from commit 3c7931e514faf509a39c218c2c9f55efb434628f)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/support/__init__.py
Lib/test/test_imaplib.py
Lib/test/test_socket.py
Misc/NEWS.d/next/Tests/2019-04-15-11-57-39.bpo-36629.ySnaL3.rst [new file with mode: 0644]