%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/
Upload File :
Create Path :
Current File : //opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_scanstring.pyo

�
j��Mc@sNddlZddlmZddlZddlZdefd��YZdS(i����N(tTestCasetTestScanStringcBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCs|jtjj�dS(N(t_test_scanstringt
simplejsontdecodert
py_scanstring(tself((sS/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_scanstring.pyttest_py_scanstringscCs'tjjsdS|jtjj�dS(N(RRtc_scanstringR(R((sS/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_scanstring.pyttest_c_scanstringscCs�|j|dddt�d<�tjdkrP|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",]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((sS/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_scanstring.pyRs�
cCs<|jttjjddd�|jttjjd�dS(Ntxxxisxx�(tassertRaisest
ValueErrortjsonRRtUnicodeDecodeErrortencodertencode_basestring_ascii(R((sS/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_scanstring.pyttest_issue3623js	cCs9ttdtj�}|jttjjd|d�dS(NtmaxsizeRi(tgetattrR
tmaxintRt
OverflowErrorRRR(RR((sS/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_scanstring.pyt
test_overflowps(t__name__t
__module__RR	RRR(((sS/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_scanstring.pyRs
			Z	(R
tunittestRRRtsimplejson.decoderR(((sS/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_scanstring.pyt<module>s

Zerion Mini Shell 1.0