403Webshell
Server IP : 54.37.205.81  /  Your IP : 216.73.216.76
Web Server : nginx/1.22.1
System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64
User : debian ( 1000)
PHP Version : 8.2.32
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-311.pyc
�

$��c
��J�ddlmZddlZddlZddlmZGd�de��ZdS)�)�TestCaseN)�StringIOc� �eZdZd�Zd�Zd�ZdS)�
TestIndentc
�,�dgdggdddddidd	d
�g}tjd��}tj|��}tj|dd
d���}tj|dd
d���}tj|dd
d���}tj|��}tj|��}tj|��}	tj|��}
|�||��|�||��|�|	|��|�|
|��|�||�dd����|�||�d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��,�: )�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_indents����[�8�*�b�+�{�
��r�]�e�%�@�@�
C����"
����,�Z��]�]��
�Z��$�$�;�
O�
O�
O��
�Z��$�$�;�
O�
O�
O��
�Z��!�t��
L�
L�
L��
�Z��^�^��
�Z��^�^��
�Z��^�^��
�Z��^�^������Q��������Q��������Q��������Q��������V�^�^�D�$�7�7�8�8�8�����V�^�^�D�$�7�7�8�8�8�	
����V�$�$�$�$�$�c�N���ddi���fd�}|dd��|dd��dS)N��c���tj�|���}��||��t��}tj�||�����|���|��dS)N�r)rrrr�dump�getvalue)r�expectedr!�siorrs    ��r)�checkz&TestIndent.test_indent0.<locals>.check:sq�����A�f�-�-�-�B����R��*�*�*��*�*�C��I�a��V�,�,�,�,����S�\�\�^�^�X�6�6�6�6�6r+rz
{
"3": 1
}z{"3": 1}�)rr5rs` @r)�test_indent0zTestIndent.test_indent08sW����
��F��	7�	7�	7�	7�	7�	7�	��a�� � � �
��d�J�����r+c��gd�}d}d}|�|tj|dd�����|�|tj|dd�����|�|tj|d�����dS)	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_separatorsGs����i�i��&��0�
������J�s�1��>�>�>�	@�	@�	@�	
�����J�s�1��=�=�=�	?�	?�	?�	
�����J�s�1�%�%�%�	'�	'�	'�	'�	'r+N)�__name__�
__module__�__qualname__r*r7r<r6r+r)rrsB������.%�.%�.%�`
 �
 �
 �'�'�'�'�'r+r)�unittestrr�
simplejsonr�simplejson.compatrrr6r+r)�<module>rCs|����������������&�&�&�&�&�&�O'�O'�O'�O'�O'��O'�O'�O'�O'�O'r+

Youez - 2016 - github.com/yon3zu
LinuXploit