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_for_json.pyc

�
���Sc@s�ddlZddlZdefd��YZdefd��YZdefd��YZdefd	��YZd
e	fd��YZ
dejfd
��YZdS(i����NtForJsoncBseZd�ZRS(cCsidd6S(Nitfor_json((tself((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyRs(t__name__t
__module__R(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyRst
NestedForJsoncBseZd�ZRS(cCsit�d6S(Ntnested(R(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyRs(RRR(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyR
stForJsonListcBseZd�ZRS(cCsdgS(Ntlist((R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyRs(RRR(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyRstDictForJsoncBseZd�ZRS(cCsidd6S(Nitalpha((R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyRs(RRR(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyR	stListForJsoncBseZd�ZRS(cCsdgS(NR((R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyRs(RRR(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyRstTestForJsoncBsweZed�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�Zd
�Z
d�ZRS(cCsP|dkrtj|�}ntj|d|�}|jtj|�|�dS(NR(tNonetjsontdumpstassertEqualtloads(RtobjtotherRts((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pytassertRoundTripscCs |jt�t�j��dS(N(RRR(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt(test_for_json_encodes_stand_alone_object)scCs.|jit�d6it�j�d6�dS(Nthooray(RRR(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt+test_for_json_encodes_object_nested_in_dict.s
cCsF|jidt�ddgd6idt�j�ddgd6�dS(NiiiR(RRR(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt7test_for_json_encodes_object_nested_in_list_within_dict3scCs%|jt�iidd6d6�dS(NiRR(RR(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt1test_for_json_encodes_object_nested_within_object8scCs |jt�t�j��dS(N(RRR(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyttest_for_json_encodes_list=scCs.|jit�d6it�j�d6�dS(NR(RRR(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt(test_for_json_encodes_list_within_objectBs
cCs,|jtdd�tdd�j��dS(Ntai(RR	R(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt#test_for_json_encodes_dict_subclassGscCs,|jtdg�tdg�j��dS(Ntl(RRR(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt#test_for_json_encodes_list_subclassLscCsAx:dtfD],}|jtdd�idd6d|�q
WdS(NRiR(R
tFalseRR	(RR((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt4test_for_json_ignored_if_not_true_with_dict_subclassQs

cCs=x6dtfD](}|jtdg�dgd|�q
WdS(NRR(R
R!RR(RR((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt4test_for_json_ignored_if_not_true_with_list_subclassXs
	cCs<|jttjt��|jttjt�dt�dS(NR(tassertRaisest	TypeErrorRRRR!(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt6test_raises_typeerror_if_for_json_not_true_with_object_s(RRtTrueRRRRRRRRR R"R#R&(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyRs
										(
tunittestt
simplejsonRtobjectRRRtdictR	RRtTestCaseR(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_for_json.pyt<module>s

Zerion Mini Shell 1.0