[Python-checkins] python/dist/src/Lib/email/test test_email_codecs.py, 1.4, 1.5

perky at users.sourceforge.net perky at users.sourceforge.net
Sat Jan 17 09:29:30 EST 2004


Update of /cvsroot/python/python/dist/src/Lib/email/test
In directory sc8-pr-cvs1:/tmp/cvs-serv14239/Lib/email/test

Modified Files:
	test_email_codecs.py 
Log Message:
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!


Index: test_email_codecs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/test/test_email_codecs.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** test_email_codecs.py	6 Mar 2003 05:41:07 -0000	1.4
--- test_email_codecs.py	17 Jan 2004 14:29:28 -0000	1.5
***************
*** 9,19 ****
  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):
--- 9,12 ----





More information about the Python-checkins mailing list