Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5a6a30

Browse files
committed
Restore test_email for a1. It passes completely.
1 parent 5deb210 commit c5a6a30

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

Lib/email/test/test_email.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,10 +851,10 @@ def test_long_unbreakable_lines_with_continuation(self):
851851
# XXX This splitting is all wrong. It the first value line should be
852852
# snug against the field name.
853853
eq(msg.as_string(maxheaderlen=78), """\
854-
Face-1:
854+
Face-1:\x20
855855
\tiVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9
856856
locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp
857-
Face-2:
857+
Face-2:\x20
858858
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9
859859
locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp
860860

Lib/test/test_email.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (C) 2001-2007 Python Software Foundation
2+
# email package unit tests
3+
4+
import unittest
5+
# The specific tests now live in Lib/email/test
6+
from email.test.test_email import suite
7+
from test import test_support
8+
9+
def test_main():
10+
test_support.run_unittest(suite())
11+
12+
if __name__ == '__main__':
13+
test_main()

0 commit comments

Comments
 (0)