Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_codecencodings_jp Namespace Reference

Classes

class  Test_CP932
class  Test_EUC_JISX0213
class  Test_EUC_JP_COMPAT
class  Test_SJIS_COMPAT
class  Test_SJISX0213

Functions

def test_main

Variables

tuple eucjp_commontests
tuple shiftjis_commonenctests

Function Documentation

Definition at line 101 of file test_codecencodings_jp.py.

00101 
00102 def test_main():
00103     support.run_unittest(__name__)


Variable Documentation

Initial value:
00001 (
00002     (b"abc\x80\x80\xc1\xc4", "strict",  None),
00003     (b"abc\xc8", "strict",  None),
00004     (b"abc\x80\x80\xc1\xc4", "replace", "abc\ufffd\u7956"),
00005     (b"abc\x80\x80\xc1\xc4\xc8", "replace", "abc\ufffd\u7956\ufffd"),
00006     (b"abc\x80\x80\xc1\xc4", "ignore",  "abc\u7956"),
00007     (b"abc\x8f\x83\x83", "replace", "abc\ufffd"),
00008     (b"\xc1\x64", "strict", None),
00009 )

Definition at line 46 of file test_codecencodings_jp.py.

Initial value:
00001 (
00002     (b"abc\x80\x80\x82\x84", "strict",  None),
00003     (b"abc\xf8", "strict",  None),
00004     (b"abc\x80\x80\x82\x84", "replace", "abc\ufffd\uff44"),
00005     (b"abc\x80\x80\x82\x84\x88", "replace", "abc\ufffd\uff44\ufffd"),
00006     (b"abc\x80\x80\x82\x84def", "ignore",  "abc\uff44def"),
00007 )

Definition at line 66 of file test_codecencodings_jp.py.