tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
X\¬Qc"@sâddlmZmZdddddddd    d
d d d ddddddddddddddddddd d!d"d#g"Zid$d%6d&d'6Zd(efd)„ƒYZd*eefd+„ƒYZd,eefd-„ƒYZd.S(/iÿÿÿÿ(tPyTesttCTests<"A JSON payload should be an object or array, not a string."s["Unclosed array"s%{unquoted_key: "keys must be quoted"}s["extra comma",]s["double extra comma",,]s[   , "<-- missing value"]s["Comma after the close"],s["Extra close"]]s{"Extra comma": true,}s:{"Extra value after close": true} "misplaced quoted value"s{"Illegal expression": 1 + 2}s{"Illegal invocation": alert()}s+{"Numbers cannot have leading zeroes": 013}s{"Numbers cannot be hex": 0x14}s"["Illegal backslash escape: \x15"]s[\naked]s"["Illegal backslash escape: \017"]s2[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]s{"Missing colon" null}s{"Double colon":: null}s {"Comma instead of colon", null}s!["Colon instead of comma": false]s["Bad value", truth]s['single quote']s["    tab    character    in    string    "]s&["tab\   character\   in\  string\  "]s["line
break"]s["line\
break"]s[0e]s[0e+]s[0e+-1]s({"Comma instead if closing brace": true,s ["mismatch"}u$["AZ control characters in string"]swhy not have a string payload?is,spec doesn't specify any nesting limitationsitTestFailcBseZd„Zd„ZRS(cCsˆxttƒD]s\}}|d}|tkrB|j|ƒq ny|j|ƒWntk
rfq X|jdj||ƒƒq WdS(Nis(Expected failure for fail{0}.json: {1!r}(t    enumeratetJSONDOCStSKIPStloadst
ValueErrortfailtformat(tselftidxtdoc((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_fail.pyt test_failuresQs
   cCsJidd6dd6}|jt|j|ƒ|jt|j|dtƒdS(Nitaitindent(ii(t assertRaisest    TypeErrortdumpstTrue(R
tdata((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_fail.pyttest_non_string_keys_dict^s(t__name__t
__module__R R(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_fail.pyRPs     t
TestPyFailcBseZRS((RR(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_fail.pyRhst    TestCFailcBseZRS((RR(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_fail.pyRisN(    t
json.testsRRRRtobjectRRR(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_fail.pyt<module>sP