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
d41595b9
Commit
d41595b9
authored
May 28, 2012
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor test_email/test_defect_handling.
parent
3e0a1eb8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
162 additions
and
179 deletions
+162
-179
Lib/test/test_email/test_defect_handling.py
Lib/test/test_email/test_defect_handling.py
+161
-178
Lib/test/test_email/test_email.py
Lib/test/test_email/test_email.py
+1
-1
No files found.
Lib/test/test_email/test_defect_handling.py
View file @
d41595b9
This diff is collapsed.
Click to expand it.
Lib/test/test_email/test_email.py
View file @
d41595b9
...
...
@@ -1973,7 +1973,7 @@ counter to RFC 2822, there's no separating newline here
[
errors
.
FirstHeaderLineIsContinuationDefect
])
eq
(
msg
.
defects
[
0
].
line
,
' Line 1
\
n
'
)
# test_
parser.TestMessageDefectDetectionBase
# test_
defect_handling
def
test_missing_header_body_separator
(
self
):
# Our heuristic if we see a line that doesn't look like a header (no
# leading whitespace but no ':') is to assume that the blank line that
...
...
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