a ze+@sddlmZddlZGdddejejZdZGdddejejZGdd d ejejZGd d d ejejZ d Z Gd ddejejZ GdddejejZ GdddejejZ edkredS))multibytecodec_supportNc@seZdZdZedZdZdS) Test_CP932cp932 shift_jis) )s abcstrictNsabcrN)abcreplaceu abc�d)sabcr u abc�d�)rignoreuabcd)sabxyr uab�xy)sab9xyr uab�9xy)sabxyr u ab�y)\~r \~)_a|r u \∥-N)__name__ __module__ __qualname__encodingrload_teststringtstring codectestsrrO/opt/bitninja-python-dojo/embedded/lib/python3.9/test/test_codecencodings_jp.pyr s r) )abcrN)rr u abc��祖)sabcr uabc��祖�)rr uabc祖)sabcrN)sabcr u abc���)sxyr u��xy)sdrN)sru\)s\ru\\)sXYr u�XYc@s"eZdZdZedZeZdZ dS)Test_EUC_JIS_2004 euc_jis_2004 euc_jisx0213«ℜ» = 〈ሴ〉s ℜ = ⟨ሴ⟩N rrrrrrreuc_commontestsrxmlcharnametestrrrrr*s rc@s"eZdZdZedZeZdZ dS)Test_EUC_JISX0213rrNrrrrrr 4s r c@s"eZdZdZedZedZdS)Test_EUC_JP_COMPATeuc_jp))¥r\)u‾r~N) rrrrrrrrrrrrrr!>s r!))abcrNr)s abcdefr u abcddefc@s"eZdZdZedZedZdS)Test_SJIS_COMPATr)r&r u abc��dsabcr uabc��d�)r rr )r ru \‖−)sabc9r uabc�9)abcr u abc��)sabcXr uabc�XN) rrrrrrrshiftjis_commonenctestsrrrrrr'Ms r'c@s&eZdZdZedZedZdZ dS)Test_SJIS_2004shift_jis_2004r))r r¥‾)r r\‖−)r*ruabc撿)s9xyr u�9xy)sXxyr u�Xxy)sxyr u ��dxy)sxyr u ��d塤y)sxyr u�閴yrs GℜQ = ⟨ሴ⟩N rrrrrrrr+rrrrrrr,[s  r,c@s&eZdZdZedZedZdZ dS)Test_SJISX0213shift_jisx0213)r(r))r r r.)r r r/r0Nr1rrrrr2ms r2__main__)testrZunittestZTestBaseZTestCaserrrr r!r+r'r,r2rmainrrrrs$