bpo-35505: Skip test_imap4_host_default_value if localhost listens on IMAP port (GH-11823)


Make test_imap4_host_default_value independent on whether the
local IMAP server is running.
(cherry picked from commit 3dc67d0316740e78e7cd014343f34d85908219b7)

Co-authored-by: Matěj Cepl <mcepl@cepl.eu>
2 files changed