File "test_io.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyc
File size: 11.67 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


V~gc@sddlZddlZddlmZmZddlmZdefdYZ	de	e
fdYZde	efd	YZ
d
e	efdYZddd
YZdejfdYZdejfdYZdZedkrendS(iN(tPseudoInputFiletPseudoOutputFile(ttest_supporttBasecBs>eZdZdZdZdZdZdZRS(cCsdt|jS(Ns%s:str(ttypet__name__(tself((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt__str__scCsdt|jS(Ns
%s:unicode(RR(R((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt__unicode__
scCsdS(Ni((R((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt__len__scCs
tdS(Ntabc(titer(R((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt__iter__scGsdt|jS(Ns%s:item(RR(Rtargs((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt__getitem__scGsdt|jS(Ns%s:slice(RR(RR
((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt__getslice__s(Rt
__module__RRR	RRR(((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyRs					tScBseZRS((RR(((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyRstUcBseZRS((RR(((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyRstBAcBseZRS((RR(((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyRst	MockShellcBs>eZdZdZdZdZdZdZRS(cCs|jdS(N(treset(R((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt__init__scGs|jj|dS(N(twrittentappend(RR
((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pytwrite"scCs
|jjS(N(tlinestpop(R((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pytreadline%scCsdS(N((R((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pytclose(scCs
g|_dS(N(R(R((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR+scCs t|ddd|_dS(Ni(tlistR(RR((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pytpush.s(RRRRRRRR(((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyRs					tPseudeOutputFilesTestcBs5eZdZdZdZdZdZRS(cCst}t|dd}|j|tj|j|jd|j|j|j|j	|j|j
d|j|j|j
|j|j|j|j
|j|j|jdS(Ntstdoutsutf-8s<stdout>(RRtassertIsInstancetiot
TextIOBasetassertEqualtencodingtassertIsNoneterrorstnewlinestnametassertFalsetclosedt
assertTruetisattytreadabletwritabletseekable(Rtshelltf((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt	test_misc3s	cCst}t|dd}|jt|j|jt|j|jt|jd|jt|jd|jt|jddS(NR!sutf-8i(	RRtassertRaisestIOErrortfilenottelltseektreadR(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyttest_unsupportedAs	cCst}t|dd}|jd|j|jd	g|j|jd|j|jd
g|j|jd|j|jdg|j|jtd|j|jdg|jt|jddt|j|jt	d|j|jd
g|jt|jddt|j|jt
d|j|jdg|jt|jddt|j|jt
|j|j|jg|jt
|jd|j|jg|jt
|jdd|j|jgdS(NR!sutf-8ttestststutèstii{tspam(R<R!(ststR!(utèstR!(ststR!(ststR!(utèstR!(RRRR%RRRRtstrRRtunicodeR5t	TypeError(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt
test_writeJs:	





!
!
!
cCst}t|dd}|jg|j|jg|j|jddg|j|jd
dg|j|jddg|j|jddg|j|jddg|j|jddg|j|jtd	g|j|jdg|jt|jd
d
t|j|jt	d	g|j|jdg|jt|jd
d
t|j|jt
dg|j|jdg|jt|jd
d
t|j|jt
|j|j|jg|jt
|jd|j|jg|jt
|jdg|j|jg|jt
|jgg|j|jgdS(NR!sutf-8sone
ttwoson
stwuonè
utwòststiutèsti{(sone
R!(RBR!(son
R!(stwR!(uonè
R!(utwòR!(ststR!(ststR!(utèstR!(RRt
writelinesR%RRRRR>RRR?R5R@(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyttest_writelinesksJ	







!
!
!
cCst}t|dd}|j|j|jd|j|j|j|jt|jd|j	|j
dg|j|jt|jddS(NR!sutf-8R<txi(R<R!(RRR+R,RRR-R5t
ValueErrorR%RR@(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt
test_closes	


(RRR4R;RARDRG(((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR 2s
				!	)tPseudeInputFilesTestcBs>eZdZdZdZdZdZdZRS(cCst}t|dd}|j|tj|j|jd|j|j|j|j	|j|j
d|j|j|j
|j|j
|j|j|j|j|jdS(Ntstdinsutf-8s<stdin>(RRR"R#R$R%R&R'R(R)R*R+R,R-R.R/R0R1(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR4s	cCst}t|dd}|jt|j|jt|j|jt|jd|jt|jd|jt|jdgdS(NRIsutf-8iRE(	RRR5R6R7R8R9RRC(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyR;s	cCs~t}t|dd}|jdddg|j|jd|jdddg|j|jdd|jdddg|j|jdd|jddddg|j|jd	d
|j|jdd|j|jd
d|jddg|j|jdd|jt|jd|jt|jd|jt|jdddS(NRIsutf-8sone
stwo
tsone
two
isthree
itonise
ti
s	wo
three
ig?t1i(RRRR%R:tNoneR5R@(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt	test_reads"	cCst}t|dd}|jddddg|j|jd|j|jdd|j|jdd|jdg|j|jd|j|jd|jd	d
dg|j|jd	|j|jd
|jdddg|j|jdd
|j|jdd|j|jdd|j|jdd|jddg|j|jdd|jt|jd|jt|jd|jt|jdddS(NRIsutf-8sone
stwo
sthree
sfour
isone
two
toneRBtthreeiRKites
i
iRJg?RL(	RRRR%RRMR5R@t	readlines(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt
test_readlines,	cCst}t|dd}|jdddg|j|jddg|jdddg|j|jdddg|jdddg|j|jdddg|jdddg|j|jdddg|jdddg|j|jddg|jdddg|j|jd	ddg|jdddg|jt|jd
|jt|jd|jt|jdddS(
NRIsutf-8sone
stwo
RJiiiig?RLi(RRRR%RRRMR5R@(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyttest_readliness$	cCst}t|dd}|jdddg|j|j|j|jd|j|j|j|j|jd|jt	|jddS(NRIsutf-8sone
stwo
RJi(
RRRR+R,R%RRR5R@(RR2R3((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyRGs	
(RRR4R;RNRSRTRG(((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyRHs						cCstjttdS(N(tsupporttrun_unittestR RH(((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt	test_mainst__main__((tunittestR#tidlelib.PyShellRRR<RRUtobjectRR>RR?Rt	bytearrayRRtTestCaseR RHRWR(((s>/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_io.pyt<module>sof