
    0hhS                         S SK r  " S S\ R                  5      r " S S\ R                  5      r\S:X  a  \ R
                  " 5         gg)    Nc                        \ rS rSrS rS rSrg)PEP3120Test   c                     U R                  SR                  S5      S5        U R                  SR                  S5      S5        g )Nu
   Питонutf-8s
   Питонu   \Пs   \П)assertEqualencode)selfs    =/opt/python-3.13.8/usr/lib/python3.13/test/test_utf8source.pytest_pep3120PEP3120Test.test_pep3120   s@    (7	
 	LL!	
    c                      SS K nU R                  S5        g ! [         a7  n[        U5      R	                  5       nU R                  SU;   5         S nAg S nAff = f)Nr   zexpected exception didn't occurr   )#test.tokenizedata.badsyntax_pep3120failSyntaxErrorstrlower
assertTrue)r
   testmsgs      r   test_badsyntaxPEP3120Test.test_badsyntax   sN    	96
 II78	  	,c(.."COOGsN++	,s    
A-AA N)__name__
__module____qualname____firstlineno__r   r   __static_attributes__r   r   r   r   r      s    
9r   r   c                       \ rS rSrS rSrg)BuiltinCompileTests   c                     SR                  S5      n [        USS5      n0 n[	        WU5        U R                  SUS   5        g ! [         a    U R                  S5         NAf = f)Nu   # coding: Latin-1
u = "Ç"
zLatin-1z<dummy>execz&compile() cannot handle Latin-1 source   Çu)r	   compiler   r   r$   r   )r
   source_codecodenss       r   test_latin1BuiltinCompileTests.test_latin1   sj    5<<YG	@;	6:D T2r#w'	  	@II>?	@s   A A"!A"r   N)r   r   r   r   r+   r   r   r   r   r!   r!      s    	(r   r!   __main__)unittestTestCaser   r!   r   mainr   r   r   <module>r1      sD    9(## 9,((++ ( zMMO r   