summaryrefslogtreecommitdiffstats
path: root/Lib/email/test/test_email.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-03-17 02:43:05 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-03-17 02:43:05 (GMT)
commit1b6c724df01614b446b748c505214afd658e75fe (patch)
treea39b0df210fb21cdaa02beb7bfd61b97373b056b /Lib/email/test/test_email.py
parent41914349adbee033ba48d6c52dc26a7d36cd78fa (diff)
downloadcpython-1b6c724df01614b446b748c505214afd658e75fe.zip
cpython-1b6c724df01614b446b748c505214afd658e75fe.tar.gz
cpython-1b6c724df01614b446b748c505214afd658e75fe.tar.bz2
#11686: add missing entries to email __all__ lists.
Original patch by Steffen Daode Nurpmeso
Diffstat (limited to 'Lib/email/test/test_email.py')
-rw-r--r--Lib/email/test/test_email.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py
index 5655938..5db34dc 100644
--- a/Lib/email/test/test_email.py
+++ b/Lib/email/test/test_email.py
@@ -2518,14 +2518,11 @@ class TestMiscellaneous(TestEmailBase):
def test__all__(self):
module = __import__('email')
- # Can't use sorted() here due to Python 2.3 compatibility
- all = module.__all__[:]
- all.sort()
- self.assertEqual(all, [
- 'base64mime', 'charset', 'encoders', 'errors', 'generator',
- 'header', 'iterators', 'message', 'message_from_binary_file',
- 'message_from_bytes', 'message_from_file',
- 'message_from_string', 'mime', 'parser',
+ self.assertEqual(sorted(module.__all__), [
+ 'base64mime', 'charset', 'encoders', 'errors', 'feedparser',
+ 'generator', 'header', 'iterators', 'message',
+ 'message_from_binary_file', 'message_from_bytes',
+ 'message_from_file', 'message_from_string', 'mime', 'parser',
'quoprimime', 'utils',
])