403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/simplejson/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/simplejson/tests/__pycache__/test_float.cpython-38.pyc
U

�O5[��@sTddlZddlmZddlmZmZddlZddlm	Z	m
Z
mZGdd�de�ZdS)�N)�TestCase)�	long_type�	text_type)�NaN�PosInf�NegInfc@s4eZdZdd�Zdd�Zdd�Zdd�Zd	d
�ZdS)�	TestFloatcCsLttfD]}|�t�t�|��|�qt�t�t��}|�d||k�dS)Nr)rr�assertEqual�json�loads�dumpsrZ
assertTrue)�self�inf�nan�r�=/usr/lib/python3/dist-packages/simplejson/tests/test_float.py�test_degenerates_allowsz TestFloat.test_degenerates_allowc	Cs0tttfD] }|�t�tj|dd��d�q
dS)NT)Z
ignore_nan)rrrr	r
rr�r
�frrr�test_degenerates_ignoresz!TestFloat.test_degenerates_ignorecCs(tttfD]}|jttj|dd�q
dS)NF)Z	allow_nan)rrrZassertRaises�
ValueErrorr
rrrrr�test_degenerates_denyszTestFloat.test_degenerates_denyc	CspdtjtjdtjddfD]N}|�tt�|��|�|�t�t�|��|�|�t�tt�|���|�qdS)Ng���A�di����g������@)�mathZpir	�floatr
rrr�r
Znumrrr�test_floatss�zTestFloat.test_floatsc	Cszdtd�ddfD]d}|�t�|�t|��|�tt�|��|�|�t�t�|��|�|�t�tt�|���|�qdS)N�ll)rr	r
r�str�intrrrrrr�	test_intss
zTestFloat.test_intsN)�__name__�
__module__�__qualname__rrrrr rrrrrs
r)
rZunittestrZsimplejson.compatrrZ
simplejsonr
Zsimplejson.decoderrrrrrrrr�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit