Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_utf8source.cpython-311.opt-2.pyc
�

�Ke����ddlZGd�dej��ZGd�dej��Zedkrej��dSdS)�Nc��eZdZd�Zd�ZdS)�PEP3120Testc��|�d�d��d��|�d�d��d��dS)Nu
Питон�utf-8s
Питонu\Пs\П)�assertEqual�encode)�selfs �>/usr/local/apps/python3/lib/python3.11/test/test_utf8source.py�test_pep3120zPEP3120Test.test_pep3120sd���������(�(�7�	
�	
�	
�	
����L�L��!�!��	
�	
�	
�	
�	
�c���	ddl}|�d��dS#t$rC}t|�����}|�d|v��Yd}~dSd}~wwxYw)Nrzexpected exception didn't occurr)�test.badsyntax_pep3120�fail�SyntaxError�str�lower�
assertTrue)r	�test�msgs   r
�test_badsyntaxzPEP3120Test.test_badsyntaxs���	9�)�)�)�)�

�I�I�7�8�8�8�8�8��	�	,�	,�	,��c�(�(�.�.�"�"�C��O�O�G�s�N�+�+�+�+�+�+�+�+�+�����	,���s��
A*�8A%�%A*N)�__name__�
__module__�__qualname__rr�rr
rrs2������
�
�
�9�9�9�9�9rrc��eZdZd�ZdS)�BuiltinCompileTestsc��d�d��}	t|dd��}n%#t$r|�d��YnwxYwi}t	||��|�d|d��dS)Nu# coding: Latin-1
u = "Ç"
zLatin-1z<dummy>�execz&compile() cannot handle Latin-1 source��u)r�compilerrrr)r	�source_code�code�nss    r
�test_latin1zBuiltinCompileTests.test_latin1s���5�<�<�Y�G�G��	@��;�	�6�:�:�D�D���	@�	@�	@��I�I�>�?�?�?�?�?�	@����
���T�2��������r�#�w�'�'�'�'�'s�)�A�
AN)rrrr%rrr
rrs#������	(�	(�	(�	(�	(rr�__main__)�unittest�TestCaserrr�mainrrr
�<module>r*s�������9�9�9�9�9�(�#�9�9�9�,(�(�(�(�(�(�+�(�(�(��z����H�M�O�O�O�O�O��r