You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_mailbox fails if the hostname is empty #75808
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2017-09-30.19:54:03.956>created_at=<Date2017-09-29.07:17:31.265>labels= ['3.7', 'type-bug', 'tests', 'expert-email']
title='test_mailbox fails if the hostname is empty'updated_at=<Date2017-09-30.19:54:03.956>user='https://github.com/serhiy-storchaka'
New changeset d9c21a4 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6':
[3.6] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) (bpo-3837) d9c21a4
New changeset 1163fb9 by Serhiy Storchaka in branch '2.7':
[2.7] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) (bpo-3838) 1163fb9
Activity
serhiy-storchaka commentedon Sep 29, 2017
On just installed FreeBSD the hostname is empty. This causes a failure of test_mailbox.
======================================================================
FAIL: test_create_tmp (test.test_mailbox.TestMaildir)
----------------------------------------------------------------------
Changing the "+" qualifier to the "*" qualifier in the regex pattern fixes the issue.
[-]test_mailbox if the hostname is empty[/-][+]test_mailbox fails if the hostname is empty[/+]bitdancer commentedon Sep 29, 2017
A system with no hostname can be considered to be improperly configured, but it doesn't look like this would weaken the test, so I think it is OK.
serhiy-storchaka commentedon Sep 30, 2017
New changeset f4ea642 by Serhiy Storchaka in branch 'master':
bpo-31627: Make test_mailbox be lenient to empty hostname. (bpo-3821)
f4ea642
serhiy-storchaka commentedon Sep 30, 2017
New changeset d9c21a4 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6':
[3.6] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) (bpo-3837)
d9c21a4
serhiy-storchaka commentedon Sep 30, 2017
New changeset 1163fb9 by Serhiy Storchaka in branch '2.7':
[2.7] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) (bpo-3838)
1163fb9