ok

Mini Shell

Direktori : /usr/lib64/python2.7/site-packages/simplejson/tests/
Upload File :
Current File : //usr/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyc

�
���Sc@sdddlZddlZddlmZddlZddlmZmZdefd��YZ	dS(i����N(tTestCase(tutbt
TestErrorscBs,eZd�Zd�Zd�Zd�ZRS(cCs?idd6d
d6dd6dd6g}|jttj|�dS(NtAtaiiRg@tcsD tupletd(ii(R(tassertRaisest	TypeErrortjsontdumps(tselftdata((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyttest_string_keys_errors%cCs�d}ytjd�Wn$tjk
r=tj�d}nX|jd�|j|jd�|j|j	d�|j|j
d�|j|jd�dS(Ns{}
a
bisExpected JSONDecodeErrorii(tNoneR
tloadstJSONDecodeErrortsystexc_infotfailtassertEqualtlinenotcolnot	endlinenotendcolno(Rterr((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyttest_decode_errors
cCs�d}x�ttfD]w}ytj|d��Wn$tjk
rVtj�d}nX|jd�|j	|j
d�|j	|jd�qWdS(Ns
{"asdf": "isExpected JSONDecodeErrori
(RRRR
RRRRRRRR(RRtt((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyttest_scan_errors
cCs�d}ytjd�Wn$tjk
r=tj�d}nX|jd�tj|�}tj|�}|j	|j
|j
�|j	|j|j�|j	|j|j�|j	|j
|j
�dS(Ns{}
a
bisExpected JSONDecodeError(RR
RRRRRtpickleRRtmsgtdoctpostend(RRtste((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyttest_error_is_pickable%s
(t__name__t
__module__RRRR%(((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyRs		
	(
RRtunittestRt
simplejsonR
tsimplejson.compatRRR(((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_errors.pyt<module>s

Zerion Mini Shell 1.0