config root man

Current Path : /compat/linux/proc/self/root/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 : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_binascii.pyc

³ò
h”Rc@sldZddklZddkZddkZdeifd„ƒYZd„ZedjoeƒndS(sTest the binascii C module.iÿÿÿÿ(ttest_supportNtBinASCIITestcBs‹eZdZedieeedƒƒƒ7Zed7Zd„Zd„Zd„Z	d„Z
d„Zd	„Zd
„Z
d„Zd„ZRS(
s.The quick brown fox jumps over the lazy dog.
tis
Hello world.
cCs6|ittitƒƒ|ittitƒƒdS(N(tassert_t
issubclasstbinasciitErrort	Exceptiont
Incomplete(tself((s./usr/local/lib/python2.5/test/test_binascii.pyttest_exceptionsscCsäg}x‘dD]‰}ddg}|djo|iddd	gƒnxM|D]E}||}|ittt|ƒƒƒ|ittt|ƒƒqMWq
WxCd
D];}|ittt|ƒƒƒ|ittt|ƒƒq¡WdS(Ntbase64thqxtuuthexta2b_tb2a_tcrc_trlecode_t
rledecode_thexlifyt	unhexlify(sbase64Rsuushex(shexlifyR(textendRtcallabletgetattrRtassertRaisest	TypeError(R	tfuncstsuffixtprefixestprefixtname((s./usr/local/lib/python2.5/test/test_binascii.pyttest_functionss

!cCs©d}g}xStdt|iƒ|ƒD]6}|i|||!}ti|ƒ}|i|ƒq(Wd}x'|D]}ti|ƒ}||}qoW|i||iƒdS(Ni9iR(trangetlentdataRt
b2a_base64tappendt
a2b_base64tassertEqual(R	t
MAX_BASE64tlinestitbtatrestline((s./usr/local/lib/python2.5/test/test_binascii.pyttest_base64valid#sc
s$d}g}xStdt|iƒ|ƒD]6}|i|||!}ti|ƒ}|i|ƒq(Wd‰d}x;tdƒD]-}t|ƒ}||joˆ|7‰q{q{W‡fd†}d}	x0t||ƒD]}
ti	|
ƒ}|	|7}	qÑW|i
|	|iƒ|i
ti	ˆƒdƒdS(Ni9iRs@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/ics™ˆ}t|ƒt|ƒ}d}xh|o`|oYt|ƒt|ƒ|jo|d|d}}n|d|d}}||7}q%W|||S(NRii(R"(R.tnoisetratioR-tc(tfillers(s./usr/local/lib/python2.5/test/test_binascii.pytaddnoiseAs(R!R"R#RR$R%txrangetchrtmapR&R'(R	R(R)R*R+R,tvalidR2R4R-R.((R3s./usr/local/lib/python2.5/test/test_binascii.pyttest_base64invalid1s,

c	CsOd}g}xStdt|iƒ|ƒD]6}|i|||!}ti|ƒ}|i|ƒq(Wd}x'|D]}ti|ƒ}||7}qoW|i||iƒ|itidƒddƒ|itidƒddƒ|itid	ƒddƒ|iti	tid
ƒ|iti	tidƒ|iti	tidd
ƒdS(Ni-iRstis€i sÿsÿs!!!!i.t!(
R!R"R#Rtb2a_uuR%ta2b_uuR'RR(R	tMAX_UUR)R*R+R,R-R.((s./usr/local/lib/python2.5/test/test_binascii.pyttest_uuVs&cCsHtidƒ}tid|ƒ}|i|dƒ|ittiƒdS(NsTest the CRC-32 ofs
 this string.ijë¦](Rtcrc32R'RR(R	tcrc((s./usr/local/lib/python2.5/test/test_binascii.pyt
test_crc32kscCs d}ti|ƒ}ti|ƒ}|i||ƒ|itti|d ƒ|itti|d dƒtio&|itit	ddƒƒdƒndS(Ns {sworldishelloi0iÿÿÿÿtqR,tasciit61(
Rtb2a_hexta2b_hexR'RRRthave_unicodeRtunicode(R	tstttu((s./usr/local/lib/python2.5/test/test_binascii.pyttest_hexts
c	Csytidhdd<Wntj
onX|idƒ|itidƒdƒ|itidƒdƒ|itidƒdƒ|ittidd	ƒ|itid
ƒdƒ|itidƒd
ƒ|itidddƒdddƒdS(NRis/binascii.a2b_qp(**{1:1}) didn't raise TypeErrors= s==t=s=AXtfootbars=00
=00t
sÿ
ÿ
ÿs
=FF
=FF
=FFt0iKsÿ
ÿ
ÿs=
=FF
=FF
=FF(Rta2b_qpRtfailR'Rtb2a_qp(R	((s./usr/local/lib/python2.5/test/test_binascii.pyttest_qps 
cCskxTddddddddd	d
ddd
ddgD]}tt|ƒ}|dƒq4WtiddƒdS(NRURGR$R=RSRFRRR@tb2a_hqxta2b_hqxR&trlecode_hqxR<t
rledecode_hqxRi(RRtcrc_hqx(R	tntf((s./usr/local/lib/python2.5/test/test_binascii.pyttest_empty_string—s(t__name__t
__module__R#tjoinR7R6R5R
R R/R9R?RBRMRVR^(((s./usr/local/lib/python2.5/test/test_binascii.pyRs"
				%				
	cCstitƒdS(N(Rtrun_unittestR(((s./usr/local/lib/python2.5/test/test_binascii.pyt	test_main¡st__main__(	t__doc__ttestRtunittestRtTestCaseRRcR_(((s./usr/local/lib/python2.5/test/test_binascii.pys<module>sš	


Man Man