From: Serhiy Storchaka Date: Sat, 30 Sep 2017 19:52:25 +0000 (+0300) Subject: [2.7] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) (#3838) X-Git-Tag: v2.7.15rc1~182 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1163fb9be08c6072455b59d6f954e60662d18e75;p=python [2.7] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) (#3838) (cherry picked from commit f4ea642cb60556231e714089a79d3c59c202661e) --- diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py index 2261bb854c..f8db5d5723 100644 --- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py @@ -654,7 +654,7 @@ class TestMaildir(TestMailbox, unittest.TestCase): hostname = hostname.replace(':', r'\072') pid = os.getpid() pattern = re.compile(r"(?P