[KoCo-CVS] [Commit] KoreanCodecs/test test_euc_kr.py
Brought to you by:
perky
From: Hye-Shik C. <pe...@us...> - 2003-01-09 23:23:32
|
perky 03/01/09 15:23:31 Modified: test test_euc_kr.py Log: Test whether euc_kr codec raise UnicodeError on cp949 character. Revision Changes Path 1.8 +2 -1 KoreanCodecs/test/test_euc_kr.py Index: test_euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/test/test_euc_kr.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- test_euc_kr.py 9 Jan 2003 21:41:37 -0000 1.7 +++ test_euc_kr.py 9 Jan 2003 23:23:31 -0000 1.8 @@ -16,7 +16,7 @@ # along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: test_euc_kr.py,v 1.7 2003/01/09 21:41:37 perky Exp $ +# $Id: test_euc_kr.py,v 1.8 2003/01/09 23:23:31 perky Exp $ # import CodecTestBase @@ -32,6 +32,7 @@ ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\uc894"), ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\uc894\ufffd"), ("abc\x80\x80\xc1\xc4", "ignore", u"abc\uc894"), + ("\xc1\x64", "strict", None), # cp949 code H-AE-H ) def test_ksx1001_1998(self): |