mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Add CJK codecs support as discussed on python-dev. (SF #873597)
Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks!
This commit is contained in:
parent
cd1f7430cb
commit
3e2a306920
88 changed files with 43278 additions and 34 deletions
|
@ -8,13 +8,6 @@ from email.test.test_email import TestEmailBase
|
|||
from email.Charset import Charset
|
||||
from email.Header import Header, decode_header
|
||||
|
||||
# See if we have the Japanese codecs package installed
|
||||
try:
|
||||
unicode('foo', 'japanese.iso-2022-jp')
|
||||
except LookupError:
|
||||
raise TestSkipped, 'Optional Japanese codecs not installed'
|
||||
|
||||
|
||||
|
||||
class TestEmailAsianCodecs(TestEmailBase):
|
||||
def test_japanese_codecs(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue