summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_email
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-03-17 02:46:14 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-03-17 02:46:14 (GMT)
commit80e22b56d3efdf2351307de6c6706ebed934fe7a (patch)
tree4e8b2bdca2acdf526db90737b29c0b7a0bdb0353 /Lib/test/test_email
parent9b3d4847e5e555ef4bab130969639d54ec78cf0e (diff)
parent1b6c724df01614b446b748c505214afd658e75fe (diff)
downloadcpython-80e22b56d3efdf2351307de6c6706ebed934fe7a.zip
cpython-80e22b56d3efdf2351307de6c6706ebed934fe7a.tar.gz
cpython-80e22b56d3efdf2351307de6c6706ebed934fe7a.tar.bz2
Merge #11686: add missing entries to email __all__ lists.
Original patch by Steffen Daode Nurpmeso
Diffstat (limited to 'Lib/test/test_email')
-rw-r--r--Lib/test/test_email/test_email.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/Lib/test/test_email/test_email.py b/Lib/test/test_email/test_email.py
index 08a49f8..e771c20 100644
--- a/Lib/test/test_email/test_email.py
+++ b/Lib/test/test_email/test_email.py
@@ -2600,14 +2600,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',
])