403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.109
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/test/test_json/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/test/test_json/__pycache__/test_float.cpython-36.pyc
3

�w2_��@sNddlZddlmZmZGdd�d�ZGdd�dee�ZGdd�dee�ZdS)	�N)�PyTest�CTestc@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�	TestFloatcCsXxRdtjtjdtjddgD]2}|jt|j|��|�|j|j|j|��|�qWdS)Ng���A�dg������@i����)�mathZpi�assertEqual�float�dumps�loads)�self�num�r
�>/opt/alt/python36/lib64/python3.6/test/test_json/test_float.py�test_floatss"zTestFloat.test_floatscCs>x8dD]0}|j|j|�t|��|jt|j|��|�qWdS)N�� �@��)rrr)rr	�str�int)rrr
r
r�	test_intss
zTestFloat.test_intscCs4|j|jd�td�g�|j|jd�td�g�dS)Nz[23456789012E666]�infz[-23456789012E666]z-inf)rr
r)rr
r
r�test_out_of_rangeszTestFloat.test_out_of_rangecCs�x�td�td�td�fD]r}|j|g�}||krF|j|j|�|g�n.|j|�}|jt|�d�|j|d|d�|jt|j|gdd�qWdS)Nrz-inf�nanrrF)Z	allow_nan)rr	rr
�lenZassertNotEqualZassertRaises�
ValueError)r�val�out�resr
r
r�test_allow_nans
zTestFloat.test_allow_nanN)�__name__�
__module__�__qualname__rrrr r
r
r
rrsrc@seZdZdS)�TestPyFloatN)r!r"r#r
r
r
rr$ sr$c@seZdZdS)�
TestCFloatN)r!r"r#r
r
r
rr%!sr%)rZtest.test_jsonrrrr$r%r
r
r
r�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit