From cb32a8a95da755a81a2ead3a4517e4f3eb5bec28 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 30 Sep 2017 17:10:57 +0300 Subject: [PATCH] [2.7] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) (cherry picked from commit f4ea642cb60556231e714089a79d3c59c202661e) --- Lib/test/test_mailbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py index 2261bb854cb765c..f8db5d5723fb280 100644 --- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py @@ -654,7 +654,7 @@ def test_create_tmp(self, repetitions=10): hostname = hostname.replace(':', r'\072') pid = os.getpid() pattern = re.compile(r"(?P