diff options
| author | R David Murray <rdmurray@bitdance.com> | 2013-03-15 20:38:15 -0400 |
|---|---|---|
| committer | R David Murray <rdmurray@bitdance.com> | 2013-03-15 20:38:15 -0400 |
| commit | 612528d95db89c9e728db979c65ed7d774291ba1 (patch) | |
| tree | 17410ea2a9f6bcbf126a7f8b3e18624238cd27ff /Lib/email/test/test_email.py | |
| parent | f3f06817946d149fb401c09fa48a08a2f1fd5a3f (diff) | |
| download | cpython-git-612528d95db89c9e728db979c65ed7d774291ba1.tar.gz | |
#17431: Fix missing import of BytesFeedParser in email.parser.
Initial patch contributed by Edmond Burnett.
Diffstat (limited to 'Lib/email/test/test_email.py')
| -rw-r--r-- | Lib/email/test/test_email.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py index a1ceb7f1b5..6fddd2b4fc 100644 --- a/Lib/email/test/test_email.py +++ b/Lib/email/test/test_email.py @@ -38,6 +38,10 @@ from email import quoprimime from test.support import findfile, run_unittest, unlink from email.test import __file__ as landmark +# These imports are documented to work, but we are testing them using a +# different path, so we import them here just to make sure they are importable. +from email.parser import FeedParser, BytesFeedParser + NL = '\n' EMPTYSTRING = '' |
