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
a1e639a0
Commit
a1e639a0
authored
Aug 10, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#18505: merge with 3.3.
parents
08a1472e
1c4810b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
Lib/test/test_email/test_email.py
Lib/test/test_email/test_email.py
+1
-4
No files found.
Lib/test/test_email/test_email.py
View file @
a1e639a0
...
@@ -953,7 +953,7 @@ Subject: the first part of this is short,
...
@@ -953,7 +953,7 @@ Subject: the first part of this is short,
This is a long line that has two whitespaces in a row. This used to cause
This is a long line that has two whitespaces in a row. This used to cause
truncation of the header when folded"""
)
truncation of the header when folded"""
)
def
test_splitter_split_on_punctuation_only_if_fws
(
self
):
def
test_splitter_split_on_punctuation_only_if_fws
_with_header
(
self
):
eq
=
self
.
ndiffAssertEqual
eq
=
self
.
ndiffAssertEqual
h
=
Header
(
'thisverylongheaderhas;semicolons;and,commas,but'
h
=
Header
(
'thisverylongheaderhas;semicolons;and,commas,but'
'they;arenotlegal;fold,points'
)
'they;arenotlegal;fold,points'
)
...
@@ -4241,9 +4241,6 @@ class TestQuopri(unittest.TestCase):
...
@@ -4241,9 +4241,6 @@ class TestQuopri(unittest.TestCase):
self
.
_test_encode
(
'x'
*
200
+
'
\
n
'
,
self
.
_test_encode
(
'x'
*
200
+
'
\
n
'
,
2
*
(
'x'
*
75
+
'=
\
n
'
)
+
'x'
*
50
+
'
\
n
'
)
2
*
(
'x'
*
75
+
'=
\
n
'
)
+
'x'
*
50
+
'
\
n
'
)
def
test_encode_one_long_line
(
self
):
self
.
_test_encode
(
'x'
*
100
+
'
\
n
'
,
'x'
*
75
+
'=
\
n
'
+
'x'
*
25
+
'
\
n
'
)
def
test_encode_shortest_maxlinelen
(
self
):
def
test_encode_shortest_maxlinelen
(
self
):
self
.
_test_encode
(
'='
*
5
,
'=3D=
\
n
'
*
4
+
'=3D'
,
maxlinelen
=
4
)
self
.
_test_encode
(
'='
*
5
,
'=3D=
\
n
'
*
4
+
'=3D'
,
maxlinelen
=
4
)
...
...
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