B
    u9an                 @   s   d dl mZ d dlZG dd dejejZG dd dejejZG dd dejejZG d	d
 d
ejejZe	dkr|e
  dS )    )multibytecodec_supportNc               @   s   e Zd ZdZedZdZdS )Test_GB2312gb2312))s   abcstrictN)s   abcr   N)s   abcreplaceu   abc��聊)s   abcr   u   abc��聊�)s   abcignoreu   abc聊)s   dr   NN)__name__
__module____qualname__encodingr   load_teststringtstring
codectests r   r   ,/usr/lib/python3.7/test_codecencodings_cn.pyr   	   s   
r   c               @   s   e Zd ZdZedZdZdS )Test_GBKgbk))s   abcr   N)s   abcr   N)s   abcr   u   abc��聊)s   abcr   u   abc��聊�)s   abcr   u   abc聊)s   41r   N)u   ・r   NN)r   r	   r
   r   r   r   r   r   r   r   r   r   r      s   
r   c               @   s"   e Zd ZdZedZdZdZdS )Test_GB18030gb18030))s   abcr   N)s   abcr   N)s   abcr   u   abc��聊)s   abcr   u   abc��聊�)s   abcr   u   abc聊)s	   abc99r   u   abc�9�9聊)u   ・r   s   99)s
   abc2defr   u   abc�2��def)s
   abc00defr   u   abcdef)s
   abc00defr   u   abc�0�0def)s   00r   N)s   00r   N)s	   abc99r   u   abc�9�9聊)s
   abc60defr   u   abc�6�0def)s	   abc82r   u   abc82聊TN)	r   r	   r
   r   r   r   r   r   Zhas_iso10646r   r   r   r   r   $   s   
r   c               @   s   e Zd ZdZedZdZdS )Test_HZhz)
)sY   This sentence is in ASCII.
The next sentence is in GB.~{<:Ky2;S{#,~}~
~{NpJ)l6HK!#~}Bye.
r   uY   This sentence is in ASCII.
The next sentence is in GB.己所不欲，勿施於人。Bye.
)sW   This sentence is in ASCII.
The next sentence is in GB.~
~{<:Ky2;S{#,NpJ)l6HK!#~}~
Bye.
r   uY   This sentence is in ASCII.
The next sentence is in GB.己所不欲，勿施於人。Bye.
)s   ab~cdr   u   ab�cd)s   abcdr   u   ab�cd)s   ab~{AD~}cdr   u   ab��聊cd)s
   ab~{AD~}cdr   u   ab聊cd)s   ab~{yyAD~}cdr   u   ab��聊cd)zab~cdr   s   ab~~cd)s
   ~{Dc~~:C~}r   N)s
   ~{Dc~
:C~}r   NN)r   r	   r
   r   r   r   r   r   r   r   r   r   r   <   s   
r   __main__)Ztestr   ZunittestZTestBaseZTestCaser   r   r   r   r   mainr   r   r   r   <module>   s   #