Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.9/test/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.9/test/__pycache__/test_flufl.cpython-39.opt-2.pyc

a

��g~�@sBddlZddlZddlmZGdd�dej�Zedkr>e��dS)�N)�supportc@seZdZdd�Zdd�ZdS)�
FLUFLTestscCs�d}t|�d�ddtj�|�t��&}t|�d�ddtj�Wd�n1sP0Y|�t|j�d�|�	d|jj
�|�|jjd�|�|jj
d	�|�|jjt��r�d
nd�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__ZCO_FUTURE_BARRY_AS_BDFL�assertRaises�SyntaxError�assertRegex�str�	exception�assertIn�text�assertEqual�filename�lineno�offsetr�use_old_parser��self�code�cm�r�+/usr/local/lib/python3.9/test/test_flufl.py�test_barry_as_bdfls��"�zFLUFLTests.test_barry_as_bdflcCs�d}t|�d�dd�|�t��"}t|�d�dd�Wd�n1sH0Y|�t|j�d�|�d|jj�|�	|jj
d�|�	|jjd	�|�	|jjt
��r�d
nd�dS)Nz2 {0} 3rrrrrzinvalid syntaxz2 <> 3�r
r)rr
rrrrrrrrrrrrrrrrr �test_guido_as_bdfls0zFLUFLTests.test_guido_as_bdflN)�__name__�
__module__�__qualname__r!r#rrrr rsr�__main__)rZunittest�testrZTestCaserr$�mainrrrr �<module>s
!

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists