ó ìUzMc@s›ddlmZddlZddddddd d d d d ddddddddddddddgZidd6dd6Zd efd!„ƒYZdS("iÿÿÿÿ(tTestCaseNs<"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 ["Illegal backslash escape: \'"]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']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]t\}}|d}|tkrBtj|ƒq nytj|ƒWntjk riq X|jd||fƒq WdS(Nis$Expected failure for fail%d.json: %r(t enumeratetJSONDOCStSKIPStjsontloadstJSONDecodeErrortfail(tselftidxtdoc((sM/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_fail.pyt test_failuresAs   cCs´x­ddgD]Ÿ}ytj|ƒWnxtjk ru}|j|jdƒ|j|jdƒ|j|jdƒq tk rž}|jd||fƒq X|jdƒq WdS(Nu[,]s[,]is!Unexpected exception raised %r %ss Unexpected success parsing '[,]'( RRRt assertEqualstpostlinenotcolnot ExceptionR(R R te((sM/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_fail.pyttest_array_decoder_issue46Os(t__name__t __module__R R(((sM/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_fail.pyR@s (tunittestRt simplejsonRRRR(((sM/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_fail.pyts<