403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.141
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:/Python313/Lib/test/test_json/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python313/Lib/test/test_json/__pycache__/test_fail.cpython-313.opt-2.pyc
�

��i%��j�SSKJrJr /SQrSSS.r"SS5r"SS	\\5r"S
S\\5rg)
�)�PyTest�CTest)"z<"A JSON payload should be an object or array, not a string."z["Unclosed array"z%{unquoted_key: "keys must be quoted"}z["extra comma",]z["double extra comma",,]z[   , "<-- missing value"]z["Comma after the close"],z["Extra close"]]z{"Extra comma": true,}z:{"Extra value after close": true} "misplaced quoted value"z{"Illegal expression": 1 + 2}z{"Illegal invocation": alert()}z+{"Numbers cannot have leading zeroes": 013}z{"Numbers cannot be hex": 0x14}z"["Illegal backslash escape: \x15"]z[\naked]z"["Illegal backslash escape: \017"]z2[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]z{"Missing colon" null}z{"Double colon":: null}z {"Comma instead of colon", null}z!["Colon instead of comma": false]z["Bad value", truth]z['single quote']z["	tab	character	in	string	"]z&["tab\   character\   in\  string\  "]z["line
break"]z["line\
break"]z[0e]z[0e+]z[0e+-1]z({"Comma instead if closing brace": true,z["mismatch"}z$["AZ control characters in string"]zwhy not have a string payload?z,spec doesn't specify any nesting limitations)��c�>�\rSrSrSrSrSrSrSrSr	Sr
S	rg
)�TestFail�Pc��[[5HQupUS-nU[;aURU5 M'URU5 UR	SUSU<35 MS g!UR
a Mif=f)NrzExpected failure for failz.json: )�	enumerate�JSONDOCS�SKIPS�loads�fail�JSONDecodeError)�self�idx�docs   �-C:\Python313\\Lib\test\test_json\test_fail.py�
test_failures�TestFail.test_failuresQsx��!�(�+�H�C���'�C��e�|��
�
�3���
K��
�
�3���	�	�5�c�U�'�#��I�J�,���'�'�
��
�s�A&�&A:�9A:c��SSS.nUR[S5 URU5 SSS5 g!,(df   g=f)Nr�)�a)rrz5keys must be str, int, float, bool or None, not tuple)�assertRaisesRegex�	TypeError�dumps)r�datas  r�test_non_string_keys_dict�"TestFail.test_non_string_keys_dict^s?���!�$��
�
#�
#�I�G�I��J�J�t��I�I�I�s	�7�
Ac��SSKnUR[S5 URU5 SSS5 g!,(df   g=f)Nrz.Object of type module is not JSON serializable)�sysrrr)rr!s  r�test_not_serializable�TestFail.test_not_serializableds7���
�
#�
#�I�@�B��J�J�s�O�B�B�B�s	�6�
Ac��/SQnUSS/-
nUH�up#nURUR5nURU5 SSS5 WRnUR	UR
U5 UR	URU5 UR	URS5 UR	URUS-5 UR	[U5SX4S-U4-5 M� g!,(df   N�=f)N))��Expecting valuer)�[r&r)z[42�Expecting ',' delimiter�)z[42,r&�)z["�Unterminated string starting atr)z["spamr+r)z["spam"r(�)z["spam",r&�)�{�1Expecting property name enclosed in double quotesr)z{"r+r)z{"spamr+r)z{"spam"�Expecting ':' delimiterr,)z{"spam":r&r-)z
{"spam":42r(�
)z{"spam":42,r/�)�"r+r)z"spamr+rr�%s: line 1 column %d (char %d)�
�assertRaisesrr�	exception�assertEqual�msg�pos�lineno�colno�str�r�
test_casesrr9r�cm�errs       r�test_truncated_input�TestFail.test_truncated_inputjs���
�
�"	�7�;�
�	
�
�)�N�D�s��"�"�4�#7�#7�8�B��
�
�4� �9��,�,�C����S�W�W�c�*����S�W�W�c�*����S�Z�Z��+����S�Y�Y��a��0����S��X�=�!��7�C�0�1�
2�)�8�8���C0�0
C>	c���/SQnUH�up#nURUR5nURU5 SSS5 WRnUR	UR
U5 UR	URU5 UR	URS5 UR	URUS-5 UR	[U5SX4S-U4-5 M� g!,(df   N�=f)N))z[,r&r)z
{"spam":[}r&�	)z[42:r(r))z
[42 "spam"r(r*)z[42,]�*Illegal trailing comma before end of arrayr))z{"spam":[42}r(r2)z["]r+r)z["spam":r(r,)z	["spam",]rGr,)z{:r/r)z{,r/r)z{42r/r)z[{]r/r)z{"spam",r0r,)z{"spam"}r0r,)z	[{"spam"]r0r-)z	{"spam":}r&r-)z
[{"spam":]r&rF)z{"spam":42 "ham"r(r2)z[{"spam":42]r(r2)z{"spam":42,}�+Illegal trailing comma before end of objectr1)z{"spam":42 , }rHr2)z	[123  , ]rG�rr4r5r>s       r�test_unexpected_data�TestFail.test_unexpected_data�s���
�
�2)�N�D�s��"�"�4�#7�#7�8�B��
�
�4� �9��,�,�C����S�W�W�c�*����S�W�W�c�*����S�Z�Z��+����S�Y�Y��a��0����S��X�=�!��7�C�0�1�
2�)�8�8�s�C)�)
C7	c��/SQnUSS/-
nUH�up#nURUR5nURU5 SSS5 WRnUR	UR
U5 UR	URU5 UR	URS5 UR	URUS-5 UR	[U5SX4S-U4-5 M� g!,(df   N�=f)N))z[]]�
Extra datar)z{}}rMr)z[],[]rMr)z{},{}rMr)z	42,"spam"rMr)z	"spam",42rMrIrr4r5r>s       r�test_extra_data�TestFail.test_extra_data�s���
�
�	�*�*�
�	
�
�)�N�D�s��"�"�4�#7�#7�8�B��
�
�4� �9��,�,�C����S�W�W�c�*����S�W�W�c�*����S�Z�Z��+����S�Y�Y��a��0����S��X�=�!��7�C�0�1�
2�)�8�8�rDc���/SQnUH�up#pEURUR5nURU5 SSS5 WRnUR	UR
S5 UR	URU5 UR	URU5 UR	URU5 UR	[U5SX4U4-5 M� g!,(df   N�=f)N))�!rrr)z !rrr)z
!rrr)z
  

     !r*rIr1r&z,Expecting value: line %s column %d (char %d)r5)rr?r�line�colrr@rAs        r�test_linecol�TestFail.test_linecol�s���
�
�%/� �D���"�"�4�#7�#7�8�B��
�
�4� �9��,�,�C����S�W�W�&7�8����S�W�W�c�*����S�Z�Z��.����S�Y�Y��,����S��X�K�"��-�.�
/�%/�8�8�s�C#�#
C1	�N)�__name__�
__module__�__qualname__�__firstlineno__rrr"rBrJrNrT�__static_attributes__rV�rrrPs(��K��� 2�D$2�L2�./r\rc��\rSrSrSrg)�
TestPyFail��rVN�rWrXrYrZr[rVr\rr^r^�s��Dr\r^c��\rSrSrSrg)�	TestCFail��rVNr`rVr\rrbrb�s��$r\rbN)�test.test_jsonrrrr
rr^rbrVr\r�<module>resC��(�E��P(�6�	��
J/�J/�X)��6�(�&��%�&r\

Youez - 2016 - github.com/yon3zu
LinuXploit