config root man

Current Path : /usr/local/lib/python2.5/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/test/test_zlib.pyo

³ò
h”Rc	@svddkZddklZddkZddkZd„Zdeifd„ƒYZdeifd„ƒYZdeifd	„ƒYZ	d
eifd„ƒYZ
ded
„Zeed„Z
dZd„Zedjoeƒndd„ZeoyddkZeiiddƒddkZeieif\ZZeiƒZeieiei	ƒƒeieƒndS(iÿÿÿÿN(ttest_supportcCsiddk}y|idƒ}|d}Wntj
ottƒ}nX|iƒd}|iƒ|S(Niÿÿÿÿt	test_zlibii(timptfind_moduletImportErrortopent__file__treadtclose(Rtttfiletbuf((s*/usr/local/lib/python2.5/test/test_zlib.pytgetbufs
tChecksumTestCasecBs>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsB|itidƒtiddƒƒ|itiddƒƒdS(NtitabcIÿÿÿÿ(tassertEqualtzlibtcrc32tassert_(tself((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_crc32starts%cCsX|itiddƒdƒ|itiddƒdƒ|itiddƒdƒdS(NRiii°(RRR(R((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_crc32emptyscCsB|itidƒtiddƒƒ|itiddƒƒdS(NRiRIÿÿÿÿ(RRtadler32R(R((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_adler32start"s%cCsX|itiddƒdƒ|itiddƒdƒ|itiddƒdƒdS(NRiii°(RRR(R((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_adler32empty&scCs|i|d@|d@ƒdS(Nlÿÿ(R(Rtseentexpected((s*/usr/local/lib/python2.5/test/test_zlib.pyt
assertEqual32+scCs¾|itiddƒdƒ|itiddƒdƒ|itiddƒdƒ|itiddƒdƒ|itidƒtiddƒƒ|itidƒtiddƒƒdS(Ntpenguinil !ƒKii”ª¶CiöÏi÷Ö(RRRRR(R((s*/usr/local/lib/python2.5/test/test_zlib.pyt
test_penguins0s%(t__name__t
__module__RRRRRR(((s*/usr/local/lib/python2.5/test/test_zlib.pyR
s					tExceptionTestCasecBs,eZd„Zd„Zd„Zd„ZRS(cCs'|ititidtidƒdS(NtERRORi(tassertRaisesRterrortcompresst	MAX_WBITS(R((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_bigbits=scCs#|ittidtidƒdS(Nii(R#t
ValueErrorRtcompressobjtDEFLATED(R((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_badcompressobjBscCs|ittidƒdS(Ni(R#R(Rt
decompressobj(R((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_baddecompressobjFscCs<|ittiƒidƒ|ittiƒidƒdS(Niiÿÿÿÿ(R#R(RR,tflush(R((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_decompressobj_badflushJs(RR R'R+R-R/(((s*/usr/local/lib/python2.5/test/test_zlib.pyR!;s			tCompressTestCasecBseZd„Zd„ZRS(cCs,titƒ}|iti|ƒtƒdS(N(RR%tHAMLET_SCENERt
decompress(Rtx((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_speechSscCs6td}ti|ƒ}|iti|ƒ|ƒdS(Ni€(R1RR%RR2(RtdataR3((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_speech128Ws
(RR R4R6(((s*/usr/local/lib/python2.5/test/test_zlib.pyR0Qs	tCompressObjectTestCasecBsäeZd„Zd„Zd„Zedddd„Zd„Zdddd„Z	ed„Z
d	„Zd
„Zd„Z
d„Zd
„Zeeiƒdƒod„Zd„Zneeiƒdƒod„Zd„ZnRS(cCsŠtd}tiƒ}|i|ƒ}|iƒ}|iti|iƒtiƒ}|i||ƒ}|iƒ}|i	|||ƒdS(Ni€(
R1RR)R%R.R#R$R,R2R(RR5tcotx1tx2tdcoty1ty2((s*/usr/local/lib/python2.5/test/test_zlib.pyt	test_pairbs
cCs d}ti}d}d}ti}ti|||||ƒ}|itƒ}|iƒ}ti|ƒ}	|	i||ƒ}
|	iƒ}|i	t|
|ƒdS(Niiôÿÿÿi	(
RR*t
Z_FILTEREDR)R%R1R.R,R2R(RtleveltmethodtwbitstmemleveltstrategyR8R9R:R;R<R=((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_compressoptionsns		c	CsÊtd}tiƒ}g}xAtdt|ƒdƒD]'}|i|i|||d!ƒƒq5W|i|iƒƒdi|ƒ}ti	ƒ}|i
di|ƒƒ}|iƒ}|i|||ƒdS(Ni€iiR(R1RR)trangetlentappendR%R.tjoinR,R2R(	RR5R8tbufstitcombufR;R<R=((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_compressincremental}s
%ii@c
Cs¶|pt}|d}tiƒ}g}xAtdt|ƒ|ƒD]'}|i|i||||!ƒƒqBW|i|iƒƒdi|ƒ}	|i	|ti
|	ƒƒtiƒ}
g}xdtdt|	ƒ|ƒD]J}|i|
i
|	|||!ƒƒ|i	d|
idt|
iƒƒqÓW|o|i|
iƒƒn8x4t
o,|
i
dƒ}|o|i|ƒqBPqBW|i	d|
idt|
iƒƒ|i	|di|ƒƒdS(Ni€iRs!(A) uct should be '': not %d longs!(B) uct should be '': not %d long(R1RR)RFRGRHR%R.RIRR2R,tunconsumed_tailtTrue(RR.tsourcetcxtdcxR5R8RJRKRLR;tchunk((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_decompincŒs<

%!cCs|idtƒdS(NR.(RTRO(R((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_decompincflush¯scCsY|pt}|d}tiƒ}g}xAtdt|ƒ|ƒD]'}|i|i||||!ƒƒqBW|i|iƒƒdi|ƒ}|i	|ti
|ƒdƒtiƒ}	g}|}
x`|
oX|	i
|
|ƒ}|it|ƒ|jdt|ƒ|fƒ|i|ƒ|	i
}
qÆW|i|	iƒƒ|i	|di|ƒdƒdS(Ni€iRscompressed data failureschunk too big (%d>%d)sWrong data retrieved(R1RR)RFRGRHR%R.RIRR2R,tfailIfRN(RRPRQRRR5R8RJRKRLR;tcbRS((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_decompimax²s.

%
cCsÅtd}tiƒ}g}xAtdt|ƒdƒD]'}|i|i|||d!ƒƒq5W|i|iƒƒdi|ƒ}|i	|ti
|ƒdƒtiƒ}g}|}xt|oldt|ƒd}	|i
||	ƒ}
|it|
ƒ|	jdt|
ƒ|	fƒ|i|
ƒ|i
}q¹W|o|i|iƒƒn[xW|
oO|i
d|	ƒ}
|it|
ƒ|	jdt|
ƒ|	fƒ|i|
ƒqNW|i	|di|ƒd	ƒdS(
Ni€iiRscompressed data failureii
schunk too big (%d>%d)sWrong data retrieved(R1RR)RFRGRHR%R.RIRR2R,RVRN(RR.R5R8RJRKRLR;RWt
max_lengthRS((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_decompressmaxlenÍs<
%
cCs|idtƒdS(NR.(RZRO(R((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_decompressmaxlenflushíscCs<tiƒ}|it|iddƒ|id|iƒdS(NRiÿÿÿÿ(RR,R#R(R2RRN(RR;((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_maxlenmiscðsc
Csdddg}g}|D]*}tt|ƒo|tt|ƒqq~}td}x³|D]«}x¢tdƒD]”}ti|ƒ}|i|d ƒ}|i|ƒ}	|i|dƒ}
|iƒ}|iti	di
||	|
|gƒƒ|d||fƒ~qqWq^WdS(	Nt
Z_NO_FLUSHtZ_SYNC_FLUSHtZ_FULL_FLUSHii
i¸Rs*Decompress failed: flush mode=%i, level=%i(thasattrRtgetattrR1RFR)R%R.RR2RI(Rtsync_optt_[1]toptR5tsyncR@tobjtatbtctd((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_flushesös"-

'c		Csýddk}ttdƒoÝtitiƒ}tiƒ}y|iƒ}Wn?tj
o3y|iƒ}WqŒtj
o
|}qŒXnX|i	dƒt
ddd|ƒ}|i|ƒ}|iti
ƒ}|i||ƒ}|i||dƒndS(	NiÿÿÿÿR^iiit	generators17K random source doesn't matchiD(trandomR`RR)tZ_BEST_COMPRESSIONR,tWichmannHilltAttributeErrortRandomtseedtgenblockR%R.R^R2R(	RRmR8R;tgenR5tfirsttsecondtexpanded((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_odd_flush
s"
cCsKtitiƒ}|i|iƒƒtiƒ}|i|iƒdƒdS(NR(RR)Rnt
failUnlessR.R,R(RR8R;((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_empty_flush,stcopyc	Cst}tiƒ}titiƒ}g}|i|i|ƒƒ|iƒ}|}|i|i|ƒƒ|i|iƒƒdi	|ƒ}|i|i|ƒƒ|i|iƒƒdi	|ƒ}|i
ti|ƒ||ƒ|i
ti|ƒ||ƒdS(NR(R1tswapcaseRR)RnRHR%R{R.RIRR2(	Rtdata0tdata1tc0tbufs0tc1tbufs1ts0ts1((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_compresscopy7scCs:tiƒ}|itƒ|iƒ|it|iƒdS(N(RR)R%R1R.R#R(R{(RRi((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_badcompresscopyMs

c	CsÊt}ti|ƒ}tiƒ}g}|i|i|d ƒƒ|iƒ}|}|i|i|dƒƒdi|ƒ}|i|i|dƒƒdi|ƒ}|i||ƒ|i||ƒdS(Ni R(	R1RR%R,RHR2R{RIR(	RR5tcomptd0R€td1R‚RƒR„((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_decompresscopyUscCsItitƒ}tiƒ}|i|ƒ|iƒ|it|iƒdS(N(	RR%R1R,R2R.R#R(R{(RR5Rj((s*/usr/local/lib/python2.5/test/test_zlib.pyttest_baddecompresscopyjs


N(RR R>RERMtFalsetNoneRTRURXRZR[R\RkRxRzR`RR)R…R†R,RŠR‹(((s*/usr/local/lib/python2.5/test/test_zlib.pyR7`s$			#	 				"	
	
	ic	
CsÅ|dj	o|i|ƒn|i}||jp
|djo
|}ng}x`td||ƒD]L}|idig}t|ƒD]}|t|ddƒƒq‡~ƒƒqdWdi|ƒ| S(sDlength-byte stream of random data from a seed (in step-byte blocks).iiRiÿN(RRrtrandintRFRHRItchr(	RrtlengthtstepRlRŽtblocksRKRcR3((s*/usr/local/lib/python2.5/test/test_zlib.pyRsrs
	
7cCs[|dj	o|i|ƒn|idƒ}g}t|ƒD]}||i|ƒq>~S(s=Return a list of number lines randomly chosen from the sources
N(RRrtsplitRFtchoice(RPtnumberRrRltsourcesRctn((s*/usr/local/lib/python2.5/test/test_zlib.pytchoose_liness
s
LAERTES

       O, fear me not.
       I stay too long: but here my father comes.

       Enter POLONIUS

       A double blessing is a double grace,
       Occasion smiles upon a second leave.

LORD POLONIUS

       Yet here, Laertes! aboard, aboard, for shame!
       The wind sits in the shoulder of your sail,
       And you are stay'd for. There; my blessing with thee!
       And these few precepts in thy memory
       See thou character. Give thy thoughts no tongue,
       Nor any unproportioned thought his act.
       Be thou familiar, but by no means vulgar.
       Those friends thou hast, and their adoption tried,
       Grapple them to thy soul with hoops of steel;
       But do not dull thy palm with entertainment
       Of each new-hatch'd, unfledged comrade. Beware
       Of entrance to a quarrel, but being in,
       Bear't that the opposed may beware of thee.
       Give every man thy ear, but few thy voice;
       Take each man's censure, but reserve thy judgment.
       Costly thy habit as thy purse can buy,
       But not express'd in fancy; rich, not gaudy;
       For the apparel oft proclaims the man,
       And they in France of the best rank and station
       Are of a most select and generous chief in that.
       Neither a borrower nor a lender be;
       For loan oft loses both itself and friend,
       And borrowing dulls the edge of husbandry.
       This above all: to thine ownself be true,
       And it must follow, as the night the day,
       Thou canst not then be false to any man.
       Farewell: my blessing season this in thee!

LAERTES

       Most humbly do I take my leave, my lord.

LORD POLONIUS

       The time invites you; go; your servants tend.

LAERTES

       Farewell, Ophelia; and remember well
       What I have said to you.

OPHELIA

       'Tis in my memory lock'd,
       And you yourself shall keep the key of it.

LAERTES

       Farewell.
cCstittttƒdS(N(Rtrun_unittestR
R!R0R7(((s*/usr/local/lib/python2.5/test/test_zlib.pyt	test_mainËs
t__main__RcCs |p
d}ng}d|jo|itƒnd|jo|itƒnd|jo|itƒnd|jo|itƒnti|ŒdS(NtotkR3Ri(RHR
R!R0R7RR™(ttestst	testcases((s*/usr/local/lib/python2.5/test/test_zlib.pyttestÖs




is!/Py23Src/python/dist/src/Lib/test(tunittestR RRRmRtTestCaseR
R!R0R7RsRR˜R1RšRRŒtsystpathtinsertRttzttstutt	TestSuitetsutaddTestt	makeSuitet	run_suite(((s*/usr/local/lib/python2.5/test/test_zlib.pys<module>s0	$ÿG	
	

Man Man