From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 30 Sep 2017 19:52:00 +0000 (-0700) Subject: [3.6] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) (#3837) X-Git-Tag: v3.6.4rc1~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9c21a45fdc83904753d91ad45e3eafa195f4713;p=python [3.6] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) (#3837) (cherry picked from commit f4ea642cb60556231e714089a79d3c59c202661e) --- diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py index 2ba944335a..3807b95b15 100644 --- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py @@ -746,7 +746,7 @@ class TestMaildir(TestMailbox, unittest.TestCase): hostname = hostname.replace(':', r'\072') pid = os.getpid() pattern = re.compile(r"(?P