a
    ze+                     @   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)   abc replaceu
   abc� ｄ)s   abc r	   u   abc� ｄ�)r   ignoreu   abc ｄ)s   abxyr	   u   ab�xy)s   ab9xyr	   u   ab�9xy)s   abxyr	   u	   ab�y)   \~r	   \~)   _a|r	   u	   ＼∥－N)__name__
__module____qualname__encodingr   load_teststringtstring
codectests r   r   1/usr/lib/python3.9/test/test_codecencodings_jp.pyr   	   s   
r   ))   abcr   N)r   r	   u   abc��祖)s   abcr	   u   abc��祖�)r   r
   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   «ℜ» = 〈ሴ〉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   r   Nr   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!   ))   abcr   Nr   )s
   abcdefr
   u	   abcｄdefc                   @   s"   e Zd ZdZedZed ZdS )Test_SJIS_COMPATr   )r&   r	   u   abc��ｄs   abcr	   u   abc��ｄ�)r   r   r   )r   r   u	   ＼‖−)s   abc9r	   u   abc�9)   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   ))r   r      ¥‾)r   r      \‖−)r*   r   u   abc撿)s   9xyr	   u   �9xy)s   Xxyr	   u   �Xxy)s   xyr	   u   ��ｄxy)s   xyr	   u   ��ｄ塤y)s   xyr	   u   �閴yr   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)r(   r)   )r   r	   r.   )r   r	   r/   r0   Nr1   r   r   r   r   r2   m   s   
r2   __main__)testr   ZunittestZTestBaseZTestCaser   r   r   r    r!   r+   r'   r,   r2   r   mainr   r   r   r   <module>   s$   

	