tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
X\¬Qc@snddlZddlmZmZdefd„ƒYZdeefd„ƒYZdeefd„ƒYZdS(    iÿÿÿÿN(tPyTesttCTesttTestScanstringcBs#eZd„Zd„Zd„ZRS(cCsÏ|jjj}|j|dddtƒd<ƒtjdkr_|j|dddtƒd=ƒn|j|dddtƒd>ƒ|j|d    ddtƒd?ƒ|j|d ddtƒd@ƒ|j|dddtƒdAƒ|j|dddtƒdBƒ|j|dddtƒdCƒ|j|dddtƒdDƒ|j|dddtƒdEƒ|j|dddtƒdFƒ|j|d ddtƒdGƒ|j|d#ddtƒdHƒ|j|d%ddtƒdIƒ|j|d'ddtƒdJƒ|j|d*ddtƒdKƒ|j|d,ddtƒdLƒ|j|d/ddtƒdMƒ|j|d1ddtƒdNƒ|j|d4ddtƒdOƒ|j|d7ddtƒdPƒ|j|d9ddtƒdQƒdS(RNs"z\ud834\udd20x"iuz𝄠xiiÿÿu"z𝄠x"iis"\u007b"u{is<"A JSON payload should be an object or array, not a string."u:A JSON payload should be an object or array, not a string.i<s["Unclosed array"iuUnclosed arrayis["extra comma",]u extra commais["double extra comma",,]udouble extra commais["Comma after the close"],uComma after the closeis["Extra close"]]u Extra closes{"Extra comma": true,}u Extra commas:{"Extra value after close": true} "misplaced quoted value"uExtra value after closeis{"Illegal expression": 1 + 2}uIllegal expressions{"Illegal invocation": alert()}uIllegal invocations+{"Numbers cannot have leading zeroes": 013}u"Numbers cannot have leading zeroesi%s{"Numbers cannot be hex": 0x14}uNumbers cannot be hexs2[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]uToo deepis{"Missing colon" null}u Missing colons{"Double colon":: null}u Double colonis {"Comma instead of colon", null}uComma instead of colonis!["Colon instead of comma": false]uColon instead of commas["Bad value", truth]u    Bad valuei (uz𝄠xi(uz𝄠xi(uz𝄠xi(u{i(u:A JSON payload should be an object or array, not a string.i<(uUnclosed arrayi(u extra commai(udouble extra commai(uComma after the closei(u Extra closei(u Extra commai(uExtra value after closei(uIllegal expressioni(uIllegal invocationi(u"Numbers cannot have leading zeroesi%(uNumbers cannot be hexi(uToo deepi(u Missing coloni(u Double coloni(uComma instead of coloni(uColon instead of commai(u    Bad valuei (tjsontdecodert
scanstringt assertEqualtNonetTruetsyst
maxunicode(tselfR((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_scanstring.pyttest_scanstringsˆ
cCsB|jt|jjjdddƒ|jt|jjjdƒdS(Ntxxxisxxÿ(t assertRaisest
ValueErrorRRRtUnicodeDecodeErrortencodertencode_basestring_ascii(R ((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_scanstring.pyttest_issue3623as    cCs7|jtƒ"|jjjdtjdƒWdQXdS(NR i(Rt OverflowErrorRRRR    tmaxsize(R ((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_scanstring.pyt test_overflowgs(t__name__t
__module__R RR(((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_scanstring.pyRs    [    tTestPyScanstringcBseZRS((RR(((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_scanstring.pyRlstTestCScanstringcBseZRS((RR(((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_scanstring.pyRms(R    t
json.testsRRtobjectRRR(((sb/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_scanstring.pyt<module>s g