B
    u9a+                 @   s   d dl mZ d dlZG dd dejejZd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	d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re  dS )    )multibytecodec_supportNc               @   s   e Zd ZdZedZdZdS )
Test_CP932cp932	shift_jis)
)s	   abc  strictN)s   abcr   N)s   abc replaceu
   abc� ｄ)s   abc r   u   abc� ｄ�)s   abc ignoreu   abc ｄ)s   abxyr   u   ab�xy)s   ab9xyr   u   ab�9xy)s   abxyr   u	   ab�y)s   \~r   z\~)s   _a|r   u	   ＼∥－N)__name__
__module____qualname__encodingr   load_teststringtstring
codectests r   r   ,/usr/lib/python3.7/test_codecencodings_jp.pyr   	   s   
r   ))s   abcr   N)s   abcr   u   abc��祖)s   abcr   u   abc��祖�)s   abcr   u   abc祖)s   abcr   N)s   abcr   u   abc���)s   xyr   u   ��xy)s   dr   N)s   r   u   ＼)s   \r   u   ＼\)s   XYr   u   �XYc               @   s"   e Zd ZdZedZeZdZ	dS )Test_EUC_JIS_2004euc_jis_2004euc_jisx0213)u   «ℜ» = 〈ሴ〉s    &real; = &lang;&#4660;&rang;N)
r	   r
   r   r   r   r   r   euc_commontestsr   xmlcharnametestr   r   r   r   r   *   s   
r   c               @   s"   e Zd ZdZedZeZdZ	dS )Test_EUC_JISX0213r   )u   «ℜ» = 〈ሴ〉s    &real; = &lang;&#4660;&rang;N)
r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   4   s   
r   c               @   s"   e Zd ZdZedZed ZdS )Test_EUC_JP_COMPATeuc_jp))   ¥r      \)u   ‾r      ~N)	r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   >   s   
r   ))s   abcr   N)s   abcr   N)s
   abcdefr   u	   abcｄdefc               @   s"   e Zd ZdZedZed ZdS )Test_SJIS_COMPATr   ))s   abcr   u   abc��ｄ)s   abcr   u   abc��ｄ�)s   \~r   z\~)s   _a|r   u	   ＼‖−)s   abc9r   u   abc�9)s   abcr   u	   abc��)s   abcXr   u   abc�XN)	r	   r
   r   r   r   r   r   shiftjis_commonenctestsr   r   r   r   r   r   M   s   
r   c               @   s&   e Zd ZdZedZed ZdZ	dS )Test_SJIS_2004shift_jis_2004r   ))s   \~r   u   ¥‾)s   _a|r   u   \‖−)s   abcr   u   abc撿)s   9xyr   u   �9xy)s   Xxyr   u   �Xxy)s   xyr   u   ��ｄxy)s   xyr   u   ��ｄ塤y)s   xyr   u   �閴y)u   «ℜ» = 〈ሴ〉s    G&real;Q = &lang;&#4660;&rang;N)
r	   r
   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ed ZdZ	dS )Test_SJISX0213shift_jisx0213))s   abcr   u   abc��ｄ)s   abcr   u   abc��ｄ�)s   \~r   u   ¥‾)s   _a|r   u   \‖−)u   «ℜ» = 〈ሴ〉s    G&real;Q = &lang;&#4660;&rang;N)
r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r!   m   s
   
r!   __main__)Ztestr   ZunittestZTestBaseZTestCaser   r   r   r   r   r   r   r   r!   r	   mainr   r   r   r   <module>   s   			