��Qc@s~ddlZddlmZddlmZmZdefd��YZdeefd��YZdeefd ��YZdS(
i�N(tStringIO(tPyTesttCTestt
TestIndentcBseZd�Zd�ZRS(c
Cs�dgdggdddidd6idd 6td
6g}tjd�}|j|�}|j|dd
dtdd�}|j|�}|j|�}|j||�|j||�|j||�dS(Ntblorpietwhoopss d-shtaeous d-nthiouhsi-vhbjkhnthiWtniftytyestfieldt morefieldsI [
[
"blorpie"
],
[
"whoops"
],
[],
"d-shtaeou",
"d-nthiouh",
"i-vhbjkhnth",
{
"nifty": 87
},
{
"field": "yes",
"morefield": false
}
]tindentit sort_keyst
separatorst,s: (R
s: (tFalsettextwraptdedenttdumpstTruetloadstassertEqual(tselfthtexpecttd1td2th1th2((s,/sys/lib/python2.7/json/tests/test_indent.pyttest_indents! !cs=idd6���fd�}|dd�|dd�dS(Niicsa�j�d|�}�j||�t�}�jj�|d|��j|j�|�dS(NR
(RRRtjsontdumptgetvalue(R
texpectedRtsio(RR(s,/sys/lib/python2.7/json/tests/test_indent.pytcheck-s
is
{
"3": 1
}s{"3": 1}(tNone(RR"((RRs,/sys/lib/python2.7/json/tests/test_indent.pyttest_indent0+s
(t__name__t
__module__RR$(((s,/sys/lib/python2.7/json/tests/test_indent.pyRs $tTestPyIndentcBseZRS((R%R&(((s,/sys/lib/python2.7/json/tests/test_indent.pyR';stTestCIndentcBseZRS((R%R&(((s,/sys/lib/python2.7/json/tests/test_indent.pyR(<s( RRt
json.testsRRtobjectRR'R((((s,/sys/lib/python2.7/json/tests/test_indent.pyt<module>s
5
|