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_indent.cpython-311.pyc
�

��Vcc���ddlZddlmZddlmZmZGd�d��ZGd�dee��ZGd�d	ee��ZdS)
�N)�StringIO)�PyTest�CTestc��eZdZd�Zd�ZdS)�
TestIndentc
��dgdggdddddidd	d
�g}tjd��}|�|��}|�|dd
d���}|�|dd
d���}|�|dd
���}|�|dd
���}|�|��}|�|��}	|�|��}
|�||��|�|	|��|�|
|��|�||�d����|�||��|�||��|�||��dS)N�blorpie�whoopsz	d-shtaeouz	d-nthiouhzi-vhbjkhnth�nifty�W�yesF)�field�	morefielda3        [
        	[
        		"blorpie"
        	],
        	[
        		"whoops"
        	],
        	[],
        	"d-shtaeou",
        	"d-nthiouh",
        	"i-vhbjkhnth",
        	{
        		"nifty": 87
        	},
        	{
        		"field": "yes",
        		"morefield": false
        	}
        ]�T)�,z: )�indent�	sort_keys�
separators�	)rr)�textwrap�dedent�dumps�loads�assertEqual�
expandtabs)�self�h�expect�d1�d2�d3�d4�d5�h1�h2�h3s           �.D:\Python311\Lib\test\test_json\test_indent.py�test_indentzTestIndent.test_indents����[�8�*�b�+�{�M��r�]�e�%�@�@�
C����"
����*�Z�Z��]�]��
�Z�Z��!�t��Z�
L�
L��
�Z�Z��$�$�;�Z�
O�
O��
�Z�Z��!�t�Z�
4�
4��
�Z�Z��$�$�Z�
7�
7��
�Z�Z��^�^��
�Z�Z��^�^��
�Z�Z��^�^������Q��������Q��������Q��������V�.�.�q�1�1�2�2�2�����V�$�$�$�����R� � � �����R� � � � � �c�N���ddi���fd�}|dd��|dd��dS)N��c������|���}��||��t��}�j��||�����|���|��dS)N)r)rrr�json�dump�getvalue)r�expectedr�siorrs    ��r'�checkz&TestIndent.test_indent0.<locals>.check4su������A�f��-�-�B����R��*�*�*��*�*�C��I�N�N�1�c�&�N�1�1�1����S�\�\�^�^�X�6�6�6�6�6r)rz
{
"3": 1
}z{"3": 1}�)rr3rs` @r'�test_indent0zTestIndent.test_indent02sW����
��F��	7�	7�	7�	7�	7�	7�	��a�� � � �
��d�J�����r)N)�__name__�
__module__�__qualname__r(r5r4r)r'rrs3������)!�)!�)!�V
 �
 �
 �
 �
 r)rc��eZdZdS)�TestPyIndentN�r6r7r8r4r)r'r:r:B��������r)r:c��eZdZdS)�TestCIndentNr;r4r)r'r>r>Cr<r)r>)	r�ior�test.test_jsonrrrr:r>r4r)r'�<module>rAs�������������(�(�(�(�(�(�(�(�9 �9 �9 �9 �9 �9 �9 �9 �x-�,�,�,�,�:�v�,�,�,�*�*�*�*�*�*�e�*�*�*�*�*r)