HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/test/test_json/__pycache__/test_float.cpython-311.opt-1.pyc
�

��Vc���t�ddlZddlmZmZGd�d��ZGd�dee��ZGd�dee��ZdS)	�N)�PyTest�CTestc�&�eZdZd�Zd�Zd�Zd�ZdS)�	TestFloatc�F�dtjtjdztjdzdfD]t}|�t|�|����|��|�|�|�|����|���udS)Ng���A�di����g������@)�math�pi�assertEqual�float�dumps�loads��self�nums  �-D:\Python311\Lib\test\test_json\test_float.py�test_floatszTestFloat.test_floatss���&�����#��t�w��}�c�R�	?�	?�C����U�4�:�:�c�?�?�3�3�S�9�9�9����T�Z�Z��
�
�3���8�8�#�>�>�>�>�	?�	?�c���dD]n}|�|�|��t|����|�t|�|����|���odS)N)�ll)rr
�str�intrs  r�	test_intszTestFloat.test_intssl��$�	8�	8�C����T�Z�Z��_�_�c�#�h�h�7�7�7����S����C���1�1�3�7�7�7�7�	8�	8rc���|�|�d��td��g��|�|�d��td��g��dS)Nz[23456789012E666]�infz[-23456789012E666]�-inf)rrr)rs r�test_out_of_rangezTestFloat.test_out_of_ranges^��������$7�8�8�5��<�<�.�I�I�I�������$8�9�9�E�&�M�M�?�K�K�K�K�Krc���td��td��td��fD]�}|�|g��}||kr+|�|�|��|g��nZ|�|��}|�t	|��d��|�|d|d��|�t|j|gd�����dS)Nrr�nanrrF)�	allow_nan)rr
rr�len�assertNotEqual�assertRaises�
ValueError)r�val�out�ress    r�test_allow_nanzTestFloat.test_allow_nans����%�L�L�%��-�-��u���>�	N�	N�C��*�*�c�U�#�#�C��c�z�
4�� � ����C���3�%�8�8�8�8��j�j��o�o��� � ��S���1�-�-�-��#�#�C��F�C��F�3�3�3����j�$�*�s�e�u��M�M�M�M�	N�	NrN)�__name__�
__module__�__qualname__rrrr(�rrrrsX������?�?�?�
8�8�8�
L�L�L�	N�	N�	N�	N�	Nrrc��eZdZdS)�TestPyFloatN�r)r*r+r,rrr.r. ��������rr.c��eZdZdS)�
TestCFloatNr/r,rrr2r2!r0rr2)r	�test.test_jsonrrrr.r2r,rr�<module>r4s�������(�(�(�(�(�(�(�(�N�N�N�N�N�N�N�N�6+�*�*�*�*�)�V�*�*�*�(�(�(�(�(��E�(�(�(�(�(r