MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/2/cwd/proc/self/root/usr/lib/python2.4/site-packages/simplejson/tests/test_scanstring.pyc
mò
#œœIc@sKdkZdkZdklZdkZdkZdefd„ƒYZdS(N(sTestCasetTestScanStringcBs,tZd„Zd„Zd„Zd„ZRS(NcCs|itiiƒdS(N(tselft_test_scanstringt
simplejsontdecodert
py_scanstring(R((tD/usr/lib/python2.4/site-packages/simplejson/tests/test_scanstring.pyttest_py_scanstring	scCs,tiipdSn|itiiƒdS(N(RRtc_scanstringRR(R((Rttest_c_scanstrings
cCsÂ|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(RtassertEqualst
scanstringtNonetTruetsyst
maxunicode(RR((RRsZcCs<|ittiidddƒ|ittiidƒdS(Ntxxxisxxÿ(	RtassertRaisest
ValueErrortjsonRRtUnicodeDecodeErrortencodertencode_basestring_ascii(R((Rttest_issue3623ks	(t__name__t
__module__RR	RR(((RRs			Z(RtdecimaltunittesttTestCaseRRtsimplejson.decoderR(RRRRRR((Rt?s