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
1b643596
Commit
1b643596
authored
Oct 03, 2004
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test for FeedParser results.
parent
8df59212
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/email/test/test_email_torture.py
Lib/email/test/test_email_torture.py
+2
-2
No files found.
Lib/email/test/test_email_torture.py
View file @
1b643596
# Copyright (C) 2002 Python Software Foundation
# Copyright (C) 2002
-2004
Python Software Foundation
#
# A torture test of the email package. This should not be run as part of the
# standard Python test suite since it requires several meg of email messages
...
...
@@ -53,7 +53,7 @@ class TestCrispinTorture(TortureBase):
eq
(
type
(
payload
),
ListType
)
eq
(
len
(
payload
),
12
)
eq
(
msg
.
preamble
,
None
)
eq
(
msg
.
epilogue
,
'
\
n
\
n
'
)
eq
(
msg
.
epilogue
,
'
\
n
'
)
# Probably the best way to verify the message is parsed correctly is to
# dump its structure and compare it against the known structure.
fp
=
StringIO
()
...
...
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