• File: test_errors.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyc
  • Date Modified: 07/22/2015 10:57 PM
  • File size: 1.85 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

bNc@s6ddlmZddlZdefdYZdS(i(tTestCaseNt
TestErrorscBs#eZdZdZdZRS(cCs?idd6d
d6dd6dd6g}|jttj|dS(NtAtaiitbg@tcsD tupletd(ii(R(tassertRaisest	TypeErrortjsontdumps(tselftdata((sO/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyttest_string_keys_errors%cCsd}ytjdWntjk
r5}|}nX|jd|j|jd|j|jd|j|jd|j|j	ddS(Ns{}
a
bsExpected JSONDecodeErroriii(
tNoneR	tloadstJSONDecodeErrortfailtassertEqualstlinenotcolnot	endlinenotendcolno(Rterrte((sO/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyttest_decode_error
s

cCsd}x}ttfD]o}ytj|dWntjk
rN}|}nX|jd|j|jd|j|j	dqWdS(Ns
{"asdf": "sExpected JSONDecodeErrorii	(
RtstrtunicodeR	RRRRRR(RRttR((sO/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyttest_scan_errors

(t__name__t
__module__R
RR(((sO/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyRs		
(tunittestRt
simplejsonR	R(((sO/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyt<module>s