ACC SHELL

Path : /usr/lib/python/json/tests/
File Upload :
Current File : //usr/lib/python/json/tests/test_scanstring.pyc

Ñò
rÄMc@sZddkZddkZddklZddkZddkZdefd„ƒYZdS(iÿÿÿÿN(tTestCasetTestScanStringcBs,eZd„Zd„Zd„Zd„ZRS(cCs|itiiƒdS(N(t_test_scanstringtjsontdecodert
py_scanstring(tself((s0/usr/lib/python2.6/json/tests/test_scanstring.pyttest_py_scanstring	scCs|itiiƒdS(N(RRRtc_scanstring(R((s0/usr/lib/python2.6/json/tests/test_scanstring.pyttest_c_scanstringscCsÂ|i|dddtƒd<ƒtidjo#|i|dddtƒd=ƒn |i|dddtƒd>ƒ|i|d	ddtƒd?ƒ|i|dddtƒd@ƒ|i|dddtƒdAƒ|i|dddtƒdBƒ|i|dddtƒdCƒ|i|dddtƒdDƒ|i|dddtƒdEƒ|i|dddtƒdFƒ|i|d ddtƒdGƒ|i|d#ddtƒdHƒ|i|d%ddtƒdIƒ|i|d'ddtƒdJƒ|i|d*ddtƒdKƒ|i|d,ddtƒdLƒ|i|d/ddtƒdMƒ|i|d1ddtƒdNƒ|i|d4ddtƒdOƒ|i|d7ddtƒdPƒ|i|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",]uextra commais["double extra comma",,]udouble extra commais["Comma after the close"],uComma after the closeis["Extra close"]]uExtra closes{"Extra comma": true,}uExtra 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(uextra commai(udouble extra commai(uComma after the closei(uExtra closei(uExtra 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(tassertEqualstNonetTruetsyst
maxunicode(Rt
scanstring((s0/usr/lib/python2.6/json/tests/test_scanstring.pyRs†cCs<|ittiidddƒ|ittiidƒdS(Ntxxxisxxÿ(tassertRaisest
ValueErrorRRRtUnicodeDecodeErrortencodertencode_basestring_ascii(R((s0/usr/lib/python2.6/json/tests/test_scanstring.pyttest_issue3623is	(t__name__t
__module__RR	RR(((s0/usr/lib/python2.6/json/tests/test_scanstring.pyRs			Z(R
tdecimaltunittestRRtjson.decoderR(((s0/usr/lib/python2.6/json/tests/test_scanstring.pyt<module>s


ACC SHELL 2018