Sindbad~EG File Manager

Current Path : /usr/local/lib/python2.7/test/
Upload File :
Current File : //usr/local/lib/python2.7/test/test_bufio.pyo

�
�dc@s�ddlZddlmZddlZddlZeedd��ddddd	d
ddd
ddgZ	dej
fd��YZdefd��YZdefd��YZ
defd��YZd�Zedkr�e�ndS(i����N(ttest_supportiiii�iiii i'i@i�ii@BtBufferSizeTestcBs,eZd�Zd�Zd�Zd�ZRS(cCs�tjtj�|jtjd�}z�|j|�|jd�|j|�|j�ttjd�}|j�}|j||d�|j�}|j||�|j�}|j|�|j�Wdtjtj�XdS(Ntwbs
trb(	tsupporttunlinktTESTFNtopentwritetclosetreadlinetassertEqualtassertFalse(tselftstftline((s+/usr/local/lib/python2.7/test/test_bufio.pyttry_ones 




cCs�x�tD]x}t|t|��\}}|||| }|jt|�|�|j|�|j|d�|j|d �qWdS(Ntxi����(tlengthstdivmodtlenRR(R
tpatterntlengthtqtrt
teststring((s+/usr/local/lib/python2.7/test/test_bufio.pyt	drive_one*s

cCs|jd�dS(Ns1234567890(R(R
((s+/usr/local/lib/python2.7/test/test_bufio.pyt
test_primepat8scCs|jtd��dS(Ni�(Rtbytes(R
((s+/usr/local/lib/python2.7/test/test_bufio.pyttest_nullpat=s(t__name__t
__module__RRRR(((s+/usr/local/lib/python2.7/test/test_bufio.pyRs			tCBufferSizeTestcBseZejZRS((RR tioR(((s+/usr/local/lib/python2.7/test/test_bufio.pyR!AstPyBufferSizeTestcBseZeej�ZRS((RR tstaticmethodtpyioR(((s+/usr/local/lib/python2.7/test/test_bufio.pyR#DstBuiltinBufferSizeTestcBseZeZRS((RR R(((s+/usr/local/lib/python2.7/test/test_bufio.pyR&GscCstjttt�dS(N(Rtrun_unittestR!R#R&(((s+/usr/local/lib/python2.7/test/test_bufio.pyt	test_mainKst__main__(tunittestttestRRR"t_pyioR%tlisttrangeRtTestCaseRR!R#R&R(R(((s+/usr/local/lib/python2.7/test/test_bufio.pyt<module>s'3	

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists