Your IP : 216.73.216.213


Current Path : /opt/alt/python34/lib64/python3.4/test/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/test/__pycache__/test_codecencodings_cn.cpython-34.pyo

�
h f�
�@s�ddlmZddlmZddlZGdd�dejej�ZGdd�dejej�ZGdd	�d	ejej�ZGd
d�dejej�Z	dd
�Z
edkr�e
�ndS)�)�support)�multibytecodec_supportNc@s+eZdZdZejd�ZdZdS)�Test_GB2312�gb2312�abc�����strictN�abc��replace�abc��聊�abc�����abc��聊��ignore�abc聊��d�r�strictN�rrN�r�replacer
�rrr�rzignorer�rrN)rrrrrr)�__name__�
__module__�__qualname__�encodingr�load_teststring�tstring�
codectests�rr�@/opt/alt/python34/lib64/python3.4/test/test_codecencodings_cn.pyr
src	@s+eZdZdZejd�ZdZdS)�Test_GBK�gbk�abc����rN�abc�r	�abc��聊�abc�����abc��聊�r
�abc聊��4�1�・�r#�strictN�r$r,N�r#�replacer%�r&r/r'�r#zignorer(�r)r,N�r*r,N)r+r-r.r0r1r2r3)rrrrrrrrrrrr r!sr!c@s1eZdZdZejd�Zd!ZdZdS)"�Test_GB18030�gb18030�abc����rN�abc�r	�abc��聊�abc�����abc��聊�r
�abc聊�	abc�9�9��abc�9�9聊�・��9�9�
abc�2��def�abc�2��def�
abc�0�0def�abc€def�
abc�0�0def�abc�0�0defT�r6�strictN�r7rGN�r6�replacer8�r9rJr:�r6zignorer;�r<rJr=�r>rGr?�r@rJrA�rBrGrC�rDrJrE)
rFrHrIrKrLrMrNrOrPrQ)	rrrrrrrrZhas_iso10646rrrr r4%sr4c	@s+eZdZdZejd�ZdZdS)�Test_HZ�hz�YThis sentence is in ASCII.
The next sentence is in GB.~{<:Ky2;S{#,~}~
~{NpJ)l6HK!#~}Bye.
r�YThis sentence is in ASCII.
The next sentence is in GB.己所不欲,勿施於人。Bye.
�WThis sentence is in ASCII.
The next sentence is in GB.~
~{<:Ky2;S{#,NpJ)l6HK!#~}~
Bye.
�ab~cdr	�ab�cd�ab�cd�ab~{��AD~}cd�
ab��聊cd�
ab~{AD~}cd�ab聊cd�ab~{yyAD~}cdN�rT�strictrU�rVr`rU�rW�replacerX�rYrcrX�rZrcr[�r\rcr]�r^rcr[)r_rarbrdrerfrg)rrrrrrrrrrrr rR7srRcCstjt�dS)N)rZrun_unittestrrrrr �	test_mainVsrh�__main__)ZtestrrZunittestZTestBaseZTestCaserr!r4rRrhrrrrr �<module>s