Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /lib64/python3.9/site-packages/simplejson/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python3.9/site-packages/simplejson/tests/__pycache__/test_float.cpython-39.pyc
a

\Փa��@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�A/usr/lib64/python3.9/site-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


Yohohohohohooho | Sanrei Aya