403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/simplejson/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/simplejson/tests/test_indent.pyc
ó
Æ„Nc@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: (	tFalsettextwraptdedenttjsontdumpstTruetloadstassertEqualstreplace(tselfthtexpecttd1td2td3td4th1th2th3th4((s@/usr/lib/python2.7/dist-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(s@/usr/lib/python2.7/dist-packages/simplejson/tests/test_indent.pytcheck:s
	is
{
"3": 1
}s{"3": 1}(tNone(RR&((RRs@/usr/lib/python2.7/dist-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((s@/usr/lib/python2.7/dist-packages/simplejson/tests/test_indent.pyttest_separatorsGs(t__name__t
__module__R!R(R+(((s@/usr/lib/python2.7/dist-packages/simplejson/tests/test_indent.pyRs	0	(tunittestRt
simplejsonRRRR(((s@/usr/lib/python2.7/dist-packages/simplejson/tests/test_indent.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit