HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib64/python3.6/test/__pycache__/test_flufl.cpython-36.pyc
3


 \C�@s6ddlZddlZGdd�dej�Zedkr2ej�dS)�Nc@seZdZdd�Zdd�ZdS)�
FLUFLTestscCs�d}t|jd�ddtj�|jt��}t|jd�ddtj�WdQRX|jt|j�d�|j	|jj
d�|j	|jjd�|j	|jjd	�|j	|jj
d
�dS)Nz-from __future__ import barry_as_FLUFL
2 {0} 3z<>z<BDFL test>�execz!=z<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�assertEqual�text�filename�lineno�offset)�self�code�cm�r�"/usr/lib64/python3.6/test_flufl.py�test_barry_as_bdflszFLUFLTests.test_barry_as_bdflcCs�d}t|jd�dd�|jt��}t|jd�dd�WdQRX|jt|j�d�|j|jjd�|j|jj	d�|j|jj
d	�|j|jjd
�dS)Nz2 {0} 3z!=z<BDFL test>rz<>z<FLUFL test>zinvalid syntaxz2 <> 3
�r)rrr	r
rrr
rrrrr)rrrrrr�test_guido_as_bdflszFLUFLTests.test_guido_as_bdflN)�__name__�
__module__�__qualname__rrrrrrrsr�__main__)rZunittestZTestCaserr�mainrrrr�<module>s