Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
28ffcef4
Commit
28ffcef4
authored
Mar 07, 2003
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_long_unbreakable_lines_with_continuation(): Another funky example
from Jason Mastaler :)
parent
8e1e7f54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
Lib/email/test/test_email.py
Lib/email/test/test_email.py
+16
-0
No files found.
Lib/email/test/test_email.py
View file @
28ffcef4
...
@@ -792,6 +792,22 @@ Received-1: <15975.17901.207240.414604@sgigritzmann1.mathematik.tu-muenchen.de>
...
@@ -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>
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")
\
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
\
t
locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp
Face-2: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9
locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp
"""
)
"""
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment