403Webshell
Server IP : 157.22.201.140  /  Your IP : 216.73.216.74
Web Server : nginx/1.30.1
System : Linux mit.vincode.fvds.ru 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
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_indent.cpython-312.pyc
�

"Ie
��B�ddlmZddlZddlZddlmZGd�de�Zy)�)�TestCaseN)�StringIOc��eZdZd�Zd�Zd�Zy)�
TestIndentc
���dgdggdddddidd	d
�g}tjd�}tj|�}tj|dd
d��}tj|dd
d��}tj|dd
d��}tj|�}tj|�}tj|�}	tj|�}
|j||�|j||�|j|	|�|j|
|�|j||j
dd��|j||j
dd��|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��,�: )�indent�	sort_keys�
separatorsz  �)�textwrap�dedent�json�dumps�loads�assertEqual�replace)�self�h�expect�d1�d2�d3�d4�h1�h2�h3�h4s           �>/usr/lib/python3/dist-packages/simplejson/tests/test_indent.py�test_indentzTestIndent.test_indentsF���[�8�*�b�+�{�
��r�]�e�%�@�
C�����"
���,�Z�Z��]��
�Z�Z��$�$�;�
O��
�Z�Z��$�$�;�
O��
�Z�Z��!�t��
L��
�Z�Z��^��
�Z�Z��^��
�Z�Z��^��
�Z�Z��^������Q������Q������Q������Q������V�^�^�D�$�7�8�����V�^�^�D�$�7�8�	
����V�$�c�@���ddi���fd�}|dd�|dd�y)N��c����tj�|��}�j||�t�}tj�||���j|j�|�y)N�r)rrrr�dump�getvalue)r�expectedr!�siorrs    ��r)�checkz&TestIndent.test_indent0.<locals>.check:sP������A�f�-�B����R��*��*�C��I�I�a��V�,����S�\�\�^�X�6r+rz
{
"3": 1
}z{"3": 1}�)rr5rs` @r)�test_indent0zTestIndent.test_indent08s'���
��F��	7�	�a�� �
�d�J�r+c��gd�}d}d}|j|tj|dd���|j|tj|dd���|j|tj|d���y)	N)r.rr-�z[
1,
2,
3,
4
]z[
1, 
2, 
3, 
4
]r)z, r)rrrr0)rrr)r�lstr �
expect_spacess    r)�test_separatorszTestIndent.test_separatorsGsw����&��0�
������J�J�s�1��>�	@�	
�����J�J�s�1��=�	?�	
�����J�J�s�1�%�	'r+N)�__name__�
__module__�__qualname__r*r7r<r6r+r)rrs��.%�`
 �'r+r)�unittestrr�
simplejsonr�simplejson.compatrrr6r+r)�<module>rCs�����&�O'��O'r+

Youez - 2016 - github.com/yon3zu
LinuXploit