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_indent.pyo

�
��/Vc@sRddlmZddlZddlZddlmZdefd��YZdS(i����(tTestCaseN(tStringIOt
TestIndentcBs#eZd�Zd�Zd�ZRS(c
Cs�dgdggdddidd6idd	6td
6g}tjd�}tj|�}tj|dd
dtdd�}tj|dddtdd�}tj|dddtdd�}tj|�}tj|�}tj|�}	tj|�}
|j||�|j||�|j|	|�|j|
|�|j||jd
d��|j||jd
d��|j||�dS(Ntblorpietwhoopss	d-shtaeous	d-nthiouhsi-vhbjkhnthiWtniftytyestfieldt	morefields3        [
        	[
        		"blorpie"
        	],
        	[
        		"whoops"
        	],
        	[],
        	"d-shtaeou",
        	"d-nthiouh",
        	"i-vhbjkhnth",
        	{
        		"nifty": 87
        	},
        	{
        		"field": "yes",
        		"morefield": false
        	}
        ]tindents	t	sort_keyst
separatorst,s: s  i(Rs: (Rs: (Rs: (	tFalsettextwraptdedenttjsontdumpstTruetloadstassertEqualtreplace(tselfthtexpecttd1td2td3td4th1th2th3th4((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_indent.pyttest_indents(!	!!!cs=idd6���fd�}|dd�|dd�dS(Niics^tj�d|�}�j||�t�}tj�|d|��j|j�|�dS(NR	(RRRRtdumptgetvalue(R	texpectedRtsio(RR(sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_indent.pytcheck:s
	is
{
"3": 1
}s{"3": 1}(tNone(RR&((RRsB/usr/lib64/python2.7/site-packages/simplejson/tests/test_indent.pyttest_indent08s
	
c	Cs�ddddg}d}d}|j|tj|ddd	d
��|j|tj|ddd	d��|j|tj|dd��dS(Niiiis[
1,
2,
3,
4
]s[
1, 
2, 
3, 
4
]R	iRs, s: R(s, s: (Rs: (RRR(RtlstRt
expect_spaces((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_indent.pyttest_separatorsGs(t__name__t
__module__R!R(R+(((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_indent.pyRs	0	(tunittestRRt
simplejsonRtsimplejson.compatRR(((sB/usr/lib64/python2.7/site-packages/simplejson/tests/test_indent.pyt<module>s

Zerion Mini Shell 1.0