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

�Ke8��v�ddlZddlZddlmZGd�dej��Zedkrej��dSdS)�N)�supportc��eZdZd�Zd�ZdS)�
FLUFLTestsc�z�d}t|�d��ddtj��|�t
��5}t|�d��ddtj��ddd��n#1swxYwY|�t|j��d��|�	d|jj
��|�|jjd��|�|jj
d	��|�|jjd
��dS)Nz-from __future__ import barry_as_FLUFL
2 {0} 3�<>�<BDFL test>�exec�!=�<FLUFL test>z,with Barry as BDFL, use '<>' instead of '!='z2 != 3��)�compile�format�
__future__�CO_FUTURE_BARRY_AS_BDFL�assertRaises�SyntaxError�assertRegex�str�	exception�assertIn�text�assertEqual�filename�lineno�offset��self�code�cms   �9/usr/local/apps/python3/lib/python3.11/test/test_flufl.py�test_barry_as_bdflzFLUFLTests.test_barry_as_bdfls_��?������D�!�!�=�&��2�	4�	4�	4�
�
�
�{�
+�
+�	8�r��D�K�K��%�%�~�v��6�
8�
8�
8�	8�	8�	8�	8�	8�	8�	8�	8�	8�	8�	8����	8�	8�	8�	8�	
����R�\�*�*�G�	I�	I�	I��
�
�h��� 1�2�2�2������.��?�?�?������,�a�0�0�0�	
�����,�a�0�0�0�0�0s�0B�B�Bc�N�d}t|�d��dd��|�t��5}t|�d��dd��ddd��n#1swxYwY|�t|j��d��|�d|jj��|�	|jj
d��|�	|jjd	��|�	|jjd
��dS)Nz2 {0} 3r
rr	rrzinvalid syntaxz2 <> 3�r
)
rrrrrrrrrrrrrrs   r!�test_guido_as_bdflzFLUFLTests.test_guido_as_bdfls<��������D�!�!�=�&�9�9�9�
�
�
�{�
+�
+�	?�r��D�K�K��%�%�~�v�>�>�>�	?�	?�	?�	?�	?�	?�	?�	?�	?�	?�	?����	?�	?�	?�	?�����R�\�*�*�,<�=�=�=��
�
�h��� 1�2�2�2������.��?�?�?������,�a�0�0�0�	
�����,�a�0�0�0�0�0s�%A2�2A6�9A6N)�__name__�
__module__�__qualname__r"r%��r!rrs2������1�1�1�"1�1�1�1�1r*r�__main__)r�unittest�testr�TestCaserr&�mainr)r*r!�<module>r0s�����������������1�1�1�1�1��"�1�1�1�B�z����H�M�O�O�O�O�O��r*