diff options
author | Barry Warsaw <barry@python.org> | 2006-03-18 15:41:53 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2006-03-18 15:41:53 (GMT) |
commit | 40ef0067ad5af2458c54cc0316831ddb701ea3fd (patch) | |
tree | 52204dc86cfb735d4aadff24864af50da4fe78de /Lib/email/test/test_email_codecs.py | |
parent | 9ae019bf5b92d9ac0ee8bb53829f6b5a16d5fab2 (diff) | |
download | cpython-40ef0067ad5af2458c54cc0316831ddb701ea3fd.zip cpython-40ef0067ad5af2458c54cc0316831ddb701ea3fd.tar.gz cpython-40ef0067ad5af2458c54cc0316831ddb701ea3fd.tar.bz2 |
Merge email package 4.0 from the sandbox, including documentation, test cases,
and NEWS updates.
Diffstat (limited to 'Lib/email/test/test_email_codecs.py')
-rw-r--r-- | Lib/email/test/test_email_codecs.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/email/test/test_email_codecs.py b/Lib/email/test/test_email_codecs.py index 159989c..38b7d95 100644 --- a/Lib/email/test/test_email_codecs.py +++ b/Lib/email/test/test_email_codecs.py @@ -10,6 +10,13 @@ from email.Charset import Charset from email.Header import Header, decode_header from email.Message import Message +# We're compatible with Python 2.3, but it doesn't have the built-in Asian +# codecs, so we have to skip all these tests. +try: + unicode('foo', 'euc-jp') +except LookupError: + raise TestSkipped + class TestEmailAsianCodecs(TestEmailBase): |