diff --git a/Lib/test/test_email/test_email.py b/Lib/test/test_email/test_email.py index 8a7e06e..e272f5b 100644 --- a/Lib/test/test_email/test_email.py +++ b/Lib/test/test_email/test_email.py @@ -1396,6 +1396,8 @@ List: List-Unsubscribe: =?utf-8?q?_to_see_if_line_wrapping_with_encoded_words_and_embedded?= =?utf-8?q?_folding_white_space_works?=""")+'\n') + def test_whitespace_header(self): + self.assertEqual(Header(' ').encode(), '') # Test mangling of "From " lines in the body of a message