summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_email
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-03-16 00:45:11 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-03-16 00:45:11 (GMT)
commit5efee58014d43d9c7c66f43afece252716e530c1 (patch)
treea15faa076be778567cda40827852cd29995c262b /Lib/test/test_email
parentb0dc5c3bc5af4595f8ef1da2f30ab70eb26bb357 (diff)
parent8093d6f822133ec552aa32279cd53ea8caa8168e (diff)
downloadcpython-5efee58014d43d9c7c66f43afece252716e530c1.zip
cpython-5efee58014d43d9c7c66f43afece252716e530c1.tar.gz
cpython-5efee58014d43d9c7c66f43afece252716e530c1.tar.bz2
Merge: #17431: Fix missing import of BytesFeedParser in email.parser.
Diffstat (limited to 'Lib/test/test_email')
-rw-r--r--Lib/test/test_email/test_email.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_email/test_email.py b/Lib/test/test_email/test_email.py
index 23f062f..eaed26f 100644
--- a/Lib/test/test_email/test_email.py
+++ b/Lib/test/test_email/test_email.py
@@ -36,6 +36,10 @@ from email import quoprimime
from test.support import unlink
from test.test_email import openfile, TestEmailBase
+# 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 = ''
SPACE = ' '