mirror of https://github.com/python/cpython
test_long_unbreakable_lines_with_continuation(): Another funky example
from Jason Mastaler :)
This commit is contained in:
parent
8e1e7f5468
commit
28ffcef4e6
|
@ -792,6 +792,22 @@ Received-1: <15975.17901.207240.414604@sgigritzmann1.mathematik.tu-muenchen.de>
|
|||
Received-2: <15975.17901.207240.414604@sgigritzmann1.mathematik.tu-muenchen.de>
|
||||
\t(David Bremner's message of "Thu, 6 Mar 2003 13:58:21 +0100")
|
||||
|
||||
""")
|
||||
|
||||
def test_long_unbreakable_lines_with_continuation(self):
|
||||
eq = self.ndiffAssertEqual
|
||||
msg = Message()
|
||||
t = """\
|
||||
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9
|
||||
locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp"""
|
||||
msg['Face-1'] = t
|
||||
msg['Face-2'] = Header(t, header_name='Face-2')
|
||||
eq(msg.as_string(), """\
|
||||
Face-1: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9
|
||||
\tlocQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp
|
||||
Face-2: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9
|
||||
locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp
|
||||
|
||||
""")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue