
    daf+                        d dl mZ d dlZ G d dej                  ej                        ZdZ G d dej                  ej                        Z G d d	ej                  ej                        Z G d
 dej                  ej                        Z	dZ
 G d dej                  ej                        Z G d dej                  ej                        Z G d dej                  ej                        Zedk(  r ej                          yy)    )multibytecodec_supportNc                   8    e Zd ZdZ ej
                  d      ZdZy)
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     6/root/Python-3.12.4/Lib/test/test_codecencodings_jp.pyr   r   	   s!    H4$44[AGJr   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                   <    e Zd ZdZ ej
                  d      ZeZdZ	y)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   *   &    H4$44^DG JOr   r   c                   <    e Zd ZdZ ej
                  d      ZeZdZ	y)Test_EUC_JISX0213r   r   Nr!   r   r   r   r&   r&   4   r$   r   r&   c                   >    e Zd ZdZ ej
                  d      Zedz   Zy)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)    H4$44X>G  $ Jr   r(   ))   abcr   Nr	   )s
   abcdefr   u	   abcｄdefc                   >    e Zd ZdZ ej
                  d      Zedz   Zy)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)    H4$44[AG( 	, 	Jr   r/   c                   B    e Zd ZdZ ej
                  d      Zedz   ZdZ	y)Test_SJIS_2004shift_jis_2004r   ))r   r      ¥‾)r   r      \‖−)r2   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   r3   r   r#   r   r   r   r5   r5   [   s0    H4$44[AG( 	, 	JOr   r5   c                   B    e Zd ZdZ ej
                  d      Zedz   ZdZ	y)Test_SJISX0213shift_jisx0213)r0   r1   )r   r   r7   )r   r   r8   r9   Nr:   r   r   r   r<   r<   m   s1    H4$445EFG( , JOr   r<   __main__)testr   unittestTestBaseTestCaser   r"   r   r&   r(   r3   r/   r5   r<   r   mainr   r   r   <module>rD      s    ( '00(2C2C $.77 )).77 ))/88!** -668I8I +44h6G6G $+44h6G6G   zHMMO r   