+
    Bi}'                         ^ RI HtHt . RNRNRNRNRNRNRNR	NR
NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NR#Nt^R$^R%/t ! R& R'4      t ! R( R)]]4      t ! R* R+]]4      tR,# )-    )PyTestCTestz<"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$["AZ control characters in string"]zwhy not have a string payload?z,spec doesn't specify any nesting limitationsc                   J   a  ] tR t^Pt o R tR tR tR tR tR t	R t
RtV tR	# )
TestFailc                   \        \        4       FV  w  rV^,           pV\        9   d   V P                  V4       K,   V P                  V4       V P	                  RV RV: 24       KX  	  R#   T P
                   d     Kp  i ; i)   zExpected failure for failz.json: N)	enumerateJSONDOCSSKIPSloadsfailJSONDecodeError)selfidxdocs   &  //usr/lib/python3.14/test/test_json/test_fail.pytest_failuresTestFail.test_failuresQ   sx    !(+HC'Ce|

3K

3 		5cU'#IJ , '' s   A,,B Bc                    R ^R^/pV P                  \        R4      ;_uu_ 4        V P                  V4       RRR4       R#   + '       g   i     R# ; i)az5keys must be str, int, float, bool or None, not tupleN)r      )assertRaisesRegex	TypeErrordumps)r   datas   & r   test_non_string_keys_dict"TestFail.test_non_string_keys_dict^   sO    a!$##IGI IJJtI I I Is   AA	c                   ^ RI pV P                  \        R4      ;_uu_ 4       pV P                  V4       RRR4       V P	                  XP
                  R4       V P                  \        4      ;_uu_ 4       pV P                  ^^^V..4       RRR4       V P                  VP
                  P                  RR.4       V P                  \        4      ;_uu_ 4       pV P                  ^^^V334       RRR4       V P                  VP
                  P                  RR.4       V P                  \        4      ;_uu_ 4       pV P                  RR	V//4       RRR4       V P                  VP
                  P                  R
R.4       R#   + '       g   i     ELZ; i  + '       g   i     EL; i  + '       g   i     L; i  + '       g   i     Lu; i)r   Nz.Object of type module is not JSON serializable	__notes__zwhen serializing list item 2zwhen serializing list item 1zwhen serializing tuple item 2zwhen serializing tuple item 1r   bzwhen serializing dict item 'b'zwhen serializing dict item 'a')	sysr   r   r   assertNotHasAttr	exceptionassertRaisesassertEqualr   )r   r!   cms   &  r   test_not_serializableTestFail.test_not_serializabled   sx   ##I@B BEGJJsOB 	bllK8y))RJJAq#;'( *//88:	; y))RJJAq#;'( *//99;	< y))RJJc3Z() *//::<	='B B B
 *)) *) *)s/   F6FF.>GF	F+	.F>	G	c                8   . ROpVRR.,          pV F  w  r#pV P                  V P                  4      ;_uu_ 4       pV P                  V4       RRR4       XP                  pV P	                  VP
                  V4       V P	                  VP                  V4       V P	                  VP                  ^4       V P	                  VP                  V^,           4       V P	                  \        V4      RW4^,           V3,          4       K  	  R#   + '       g   i     L; i) N%s: line 1 column %d (char %d)))r*   Expecting valuer   )[r,   r   )z[42Expecting ',' delimiter   )z[42,r,      )z["Unterminated string starting atr   )z["spamr1   r   )z["spam"r.      )z["spam",r,      ){1Expecting property name enclosed in double quotesr   )z{"r1   r   )z{"spamr1   r   )z{"spam"Expecting ':' delimiterr2   )z{"spam":r,   r3   )z
{"spam":42r.   
   )z{"spam":42,r5      )"r1   r   )z"spamr1   r   
r$   r   r   r#   r%   msgposlinenocolnostrr   
test_casesr   r;   r   r&   errs   &      r   test_truncated_inputTestFail.test_truncated_input}   s    

" 	7;
 	

 )NDs""4#7#788B

4  9,,CSWWc*SWWc*SZZ+SYYa0SX=!7C012 )88   D		Dc                "   . ROpV F  w  r#pV P                  V P                  4      ;_uu_ 4       pV P                  V4       RRR4       XP                  pV P	                  VP
                  V4       V P	                  VP                  V4       V P	                  VP                  ^4       V P	                  VP                  V^,           4       V P	                  \        V4      RW4^,           V3,          4       K  	  R#   + '       g   i     L; i)[,Nr+   ))rG   r,   r   )z
{"spam":[}r,   	   )z[42:r.   r/   )z
[42 "spam"r.   r0   )z[42,]*Illegal trailing comma before end of arrayr/   )z{"spam":[42}r.   r8   )z["]r1   r   )z["spam":r.   r2   )z	["spam",]rI   r2   )z{:r5   r   )z{,r5   r   )z{42r5   r   )z[{]r5   r   )z{"spam",r6   r2   )z{"spam"}r6   r2   )z	[{"spam"]r6   r3   )z	{"spam":}r,   r3   )z
[{"spam":]r,   rH   )z{"spam":42 "ham"r.   r8   )z[{"spam":42]r.   r8   )z{"spam":42,}+Illegal trailing comma before end of objectr7   )z{"spam":42 , }rJ   r8   )z	[123  , ]rI      r:   r@   s   &      r   test_unexpected_dataTestFail.test_unexpected_data   s    

2 )NDs""4#7#788B

4  9,,CSWWc*SWWc*SZZ+SYYa0SX=!7C012 )88s   C>>Dc                8   . ROpVRR.,          pV F  w  r#pV P                  V P                  4      ;_uu_ 4       pV P                  V4       RRR4       XP                  pV P	                  VP
                  V4       V P	                  VP                  V4       V P	                  VP                  ^4       V P	                  VP                  V^,           4       V P	                  \        V4      RW4^,           V3,          4       K  	  R#   + '       g   i     L; i)[]]Nr+   ))rO   
Extra datar   )z{}}rP   r   )z[],[]rP   r   )z{},{}rP   r   )z	42,"spam"rP   r   )z	"spam",42rP   rK   r:   r@   s   &      r   test_extra_dataTestFail.test_extra_data   s    

 	**
 	

 )NDs""4#7#788B

4  9,,CSWWc*SWWc*SZZ+SYYa0SX=!7C012 )88rE   c                   . ROpV F  w  r#rEV P                  V P                  4      ;_uu_ 4       pV P                  V4       RRR4       XP                  pV P	                  VP
                  R4       V P	                  VP                  V4       V P	                  VP                  V4       V P	                  VP                  V4       V P	                  \        V4      RW4V3,          4       K  	  R#   + '       g   i     L; i)!Nr,   z,Expecting value: line %s column %d (char %d)))rT   r   r   r   )z !r   r   r   )z
!r   r   r   )z
  

     !r0   rK   r7   r:   )r   rA   r   linecolr   r&   rB   s   &       r   test_linecolTestFail.test_linecol   s    

 %/ D""4#7#788B

4  9,,CSWW&78SWWc*SZZ.SYY,SXK"-./ %/88s   C00D  N)__name__
__module____qualname____firstlineno__r   r   r'   rC   rL   rQ   rW   __static_attributes____classdictcell__)__classdict__s   @r   r   r   P   s0     K=2 2D$2L2./ /    r   c                       ] tR t^tRtR# )
TestPyFailrY   NrZ   r[   r\   r]   r^   rY   ra   r   rc   rc      s    Dra   rc   c                       ] tR t^tRtR# )	TestCFailrY   Nrd   rY   ra   r   rf   rf      s    $ra   rf   N)test.test_jsonr   r   r
   r   r   rc   rf   rY   ra   r   <module>rh      s   (EBE 	E ,E E E !E !E  !E$ %E( A)E, $-E0 &1E4 25E8 &9E< *=E@ AED *EEH 9IEL MEP QET 'UEX (YE\ ]E` aEd )eEh 1iEl mEp qEt uEx yE| }E@ /AED EEH 0IEP '6	
]/ ]/~ )6 ( &% &ra   