KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21572/root/usr/lib/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21572/root/usr/lib/python2.4/test/test_univnewlines.pyc
mò
‚=5Dc@s›dkZdkZdkZdklZeeidƒpeid‚ndddZddd	d
ddd
egZ	di
e	ƒdZdi
e	ƒdZdi
e	ƒdZ
di
e	ƒdZgZe	D]ZeedqÒ[Z[deifd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZd„ZedjoeƒndS(N(stest_supporttnewliness3This Python does not have universal newline supporttxiisline1=1s>line2='this is a very long line designed to go past the magic s>hundred character limit that is inside fileobject.c and which s?is meant to speed up the common case, but we also want to test sthe uncommon case, naturally.'sdef line3():passsline4 = '%s's
s
s
tTestGenericUnivNewlinescBsStZdZdZd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
RS(
NtUtwbcCs3tti|iƒ}|i|iƒ|iƒdS(N(	topenttest_supporttTESTFNtselft	WRITEMODEtfptwritetDATAtclose(RR
((t,/usr/lib/python2.4/test/test_univnewlines.pytsetUp'scCs"ytitiƒWnnXdS(N(tostunlinkRR(R((RttearDown,scCsWtti|iƒ}|iƒ}|i|t	ƒ|it
|iƒt
|iƒƒdS(N(
RRRRtREADMODER
treadtdatatassertEqualtDATA_LFtreprRtNEWLINE(RR
R((Rt	test_read2scCsWtti|iƒ}|iƒ}|i|t	ƒ|it
|iƒt
|iƒƒdS(N(
RRRRRR
t	readlinesRRt
DATA_SPLITRRR(RR
R((Rttest_readlines8scCs…tti|iƒ}g}|iƒ}x%|o|i	|ƒ|iƒ}q*W|i
|tƒ|i
t|i
ƒt|iƒƒdS(N(RRRRRR
RtreadlinetdtappendRRRRR(RR
RR((Rt
test_readline>s
cCs|tti|iƒ}|iƒ|iƒ}|i	ƒ}|i|tdƒ|i
|ƒ|i	ƒ}|i|tdƒdS(Ni(RRRRRR
RttelltposRRRRtseek(RR
RR#((Rt	test_seekHs

cCsNh}tti|ƒ|d}|i|iidƒ|i|dt	ƒdS(Ntline3itline4(
t	namespacetexecfileRRtfuncRRt	func_codetco_firstlinenotFATX(RR(R*((Rt
test_execfileRs

(t__name__t
__module__RR	RRRRR!R%R.(((RR!s					
	
tTestNativeNewlinescBs tZdZeZdZdZRS(Ntrtw(R/R0tNoneRRRRR	(((RR1ZstTestCRNewlinescBstZdZeZRS(Ns
(R/R0RtDATA_CRR(((RR5`stTestLFNewlinescBstZdZeZRS(Ns
(R/R0RRR(((RR7dstTestCRLFNewlinescBstZdZeZRS(Ns
(R/R0Rt	DATA_CRLFR(((RR8hstTestMixedNewlinescBstZdZeZRS(Ns
s
(s
s
(R/R0Rt
DATA_MIXEDR(((RR:lscCstitttttƒdS(N(Rtrun_unittestR1R5R7R8R:(((Rt	test_mainqs
	t__main__(tunittestRtsysttestRthasattrtstdintTestSkippedR-t
DATA_TEMPLATEtjoinRR6R9R;t_[1]RRtTestCaseRR1R5R7R8R:R=R/(RR9R8R6R?R:R-RRR=R;R@R7RRERRGR5RR1((Rt?s,			
"
%9		


Anon7 - 2021