diff options
author | Barry Warsaw <barry@python.org> | 2006-03-06 00:55:25 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2006-03-06 00:55:25 (GMT) |
commit | 39be80600b9e6cb74978fa86c7c2b4956e7ff12b (patch) | |
tree | eef2ac57440b1fb31cada56e8c909b1335ceccdb /Lib | |
parent | a10a09d18438a760cecfe1cbe5fb2746890266b4 (diff) | |
download | cpython-39be80600b9e6cb74978fa86c7c2b4956e7ff12b.zip cpython-39be80600b9e6cb74978fa86c7c2b4956e7ff12b.tar.gz cpython-39be80600b9e6cb74978fa86c7c2b4956e7ff12b.tar.bz2 |
Skip codecs tests on Python 2.3.
Diffstat (limited to 'Lib')
-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): |