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_struct.pyc

hRc.@sddklZlZlZlZddkZddkZddkZddkZei	dde
ddkZeidjZ
[eeidddedje
jd	yddkZWn%ej
odZdZd
Zn8XeeddZeeddZeed
dZdZdZdZdZdZdZeeZeeideidZedeidjo
edndZdZeieZeieZ ede jo$edeedeee fneeiddeeiddddeeiddeeiddeei!ddeid dd
Z"eei!de"eei!de"d!Z#dZ$d"Z%d#Z&d$Z'd%Z(d%Z)xCdD];Z*x2dD]*Z+e*e+Z+eo
d.Ge+GHneie+e#e$e%e&e'e(e)Z"ei!e+e"\Z,Z-Z.Z/Z0Z1Z2e,e#jpve-e$jpie.e%jp\e/e&jpOe0e'jpBe3d/e1e3d/e(jp!e3d/e2e3d/e)jo8ed0e4e+e4e,e-e.e/e0e1e2ffqqWqWdddddddddd@d8d8dd8ddfddddddddPddNdOdfddddWddUdVdfdddd[ddUdVdfddddgZ5x\e5D]T\ZZ6Z7Z8Z9eodgee6e7e8fGHnxd)ee7fd+ee7fd(ee8fd*ee
oe7pe8fgD]\Z:Z;eie:e6Z<e<e;joedhee6e<e;fneie:Z=e=e>e<jo edie:e=e>e<fnei!e:e<dZ?e?e6jo%e9oedjee<e?e6fq@q@WqWdZ@yeidkdlWneiAj
o
dZ@nXeodmGe@odnpdoGHneeidpdeeidkd!eeidpd!dqZBe@oeBnddkCZCdrddsYZDx3dddddgD]ZEeDeEZFeFiGqWd{ZHeHd|ZIeId}ZJeoeJnd~ZKeeZKdZLeLdZMeMdZNdZOdZPdZQdZReOePeQeRdS(i(t
TestFailedtverbosetverifytvereqNtignores-struct integer overflow masking is deprecatedtbigs=iiis%bigendian determination appears wrongit_PY_STRUCT_RANGE_CHECKINGt_PY_STRUCT_OVERFLOW_MASKINGt_PY_STRUCT_FLOAT_COERCEcCsdit|S(Nt(tjointreversed(ts((s,/usr/local/lib/python2.5/test/test_struct.pytstring_reversescCsto|Snt|SdS(N(tISBIGENDIANR
(tvalue((s,/usr/local/lib/python2.5/test/test_struct.pytbigendian_to_nativescGsAy||Wntij
onXtd|i|fdS(Ns%s%s did not raise struct.error(tstructterrorRt__name__(tfunctargs((s,/usr/local/lib/python2.5/test/test_struct.pyt
simple_err#scGsGy||Wntitfj
onXtd|i|fdS(Ns%s%s did not raise error(RRt	TypeErrorRR(RR((s,/usr/local/lib/python2.5/test/test_struct.pytany_err,scsfd}|S(Ncsuti}i}d|jo|d=ntiddttiddtz||SWd|ti(XdS(Nt__warningregistry__Rs	^struct.*s.*format requires.*(twarningstfilterstfunc_globalstfilterwarningstDeprecationWarning(Rtkwtsave_warnings_filterstglobals(R(s,/usr/local/lib/python2.5/test/test_struct.pyt_with_warning_restore6s
	
((RR"((Rs,/usr/local/lib/python2.5/test/test_struct.pytwith_warning_restore5scGszy||WnOtitfj
onKtj
o(tptd|i|fqvnXtd|i|fdS(Ns#%s%s expected to raise struct.errors%s%s did not raise error(RRRRtPY_STRUCT_OVERFLOW_MASKINGRR(RR((s,/usr/local/lib/python2.5/test/test_struct.pytdeprecated_errIstZtiitiiisinconsistent sizestcbxxxxxxhhhhiillffdt3c3b18x12h6i6l6f3ds0inconsistent sizes (3*%r -> 3*%d = %d, %r -> %d)tfootPtdtflaptiitaiiigo!	@R	t@t<t>t=t!txcbhilfdtxcBHILfdstrying:ids#unpack/pack not transitive (%s, %s)tctxctatcxtaRt0st
helloworldt1stht9st	helloworlt10st11sthelloworldt20si
ttbisistBiissiDsDsDtHi,s,s,isstIlXltltLtfg@s@t@s@t@gststs%r %r %r %rs pack(%r, %r) -> %r # expected %rs calcsize(%r) -> %d # expected %ds(unpack(%r, %r) -> (%r,) # expected (%r,)tqisPlatform has native q/Q?sYes.sNo.tQcCs3tid}xddd|fddd|fddd|fddd|dd	fddd
|>dd|fddd
|d>ddd|dffD]\}}}ti||}t|}t||jd||||fti||d}t||jd
||||fqWdS(NRSisiRGRTlisiss%r-pack of %r gave %r, not %rs%r-unpack of %r gave %r, not %r(RtcalcsizetpackRRtunpack(tbytestformattinputtexpectedtgottnative_expectedt	retrieved((s,/usr/local/lib/python2.5/test/test_struct.pyttest_native_qQs$,t	IntTestercBs;eZdZdZeieieidZ	dZ
RS(tbBhHiIlLcCst|djpt||_xBdD]:}x1|D])}||}tti||jq7Wq*W||_|d|_|\|_|_	d|_
d|id|_d|id|_d|idd|_
dS(Nis<>!=iili(tlentAssertionErrort
formatpairRRRUtbytesizetbitsizetsigned_codet
unsigned_codetunsigned_mintunsigned_maxt
signed_mint
signed_max(tselfRdRet	directiontcodeRY((s,/usr/local/lib/python2.5/test/test_struct.pyt__init__s	
!	
	c
	Cssto&dG|iGdG|GdGt|GHn|i}|i|jo
|ijnot|}|djo)|d|i>7}|djptnt|dd!}t	|d@od	|}n||}d
|i
t	||}d|}|||}t||jd||||f|||d}	t||	jd
|||	|ft||d|d|}t
|}|||}t||jd||||f|||d}	t||	jd
|||	|ft||d|nYto(||ijoto
dG|GHqin)t|d||t|d|||i}|i|jo
|ijnod|}t|}t|dd!}t	|d@od	|}n||}d
|i
t	||}|||}t||jd||||f|||d}	t||	jd
|||	|ft||d|d|}t
|}|||}t||jd||||f|||d}	t||	jd
|||	|ft||d|nYto(||ijoto
dG|GHqon)t|d||t|d||dS(Ns
trying stdtons==iliiit0RGR3s'%s'-pack of %r gave %r, not %rs!'%s'-unpack of %r gave %r, not %rsR2s#Skipping buggy range check for code(RRdthexRgRkRltlongRfRcRbReRRR
tPY_STRUCT_RANGE_CHECKINGtBUGGY_RANGE_CHECKR%RhRiRj(
RmtxRVRWt	unhexlifyRoR[RYR\R^((s,/usr/local/lib/python2.5/test/test_struct.pyttest_ones&	$


	$

c
Csqddkl}g}x,t|idD]}|id|>q*WxXt|iD]G}d}x+t|iD]}|d>|dB}qqW|i|qUWxt|D]l}xc||fD]T}xKd
D]C}||}	yt|	}	Wntj
onX|i|	qWqWqWxSd
D]K}
xB|i	D]7}x.dd|fD]}t
ti|
||qDWq.WqWdS(Ni(t	randrangeilliiiis<>sa stringyE@(iiiy@E@(
trandomRztrangeRftappendRetintt
OverflowErrorRyRdRRRV(
RmRztvaluestexpR'tvaltjtbasetincrRwRnRot	badobject((s,/usr/local/lib/python2.5/test/test_struct.pytrunxs>

(Rt
__module__RvRpRRVRWtbinasciiRxRyR(((s,/usr/local/lib/python2.5/test/test_struct.pyR`s	utbBthHtiIitlLtqQicCsxddddddd ddddddddfgD]\}}}}ti||}||jo td||||fnti||\}||jo td||||fq;q;WdS(!NtptabcRGR	t1pt2psaR0t3psabtabt4psabct5psabct6psabct1000pRwisiis"pack(%r, %r) == %r but expected %rs$unpack(%r, %r) == %r but expected %r(RRsR	(RRsR	(RRsaR0(RRsabR(RRsabcR(RRsabcR(RRsabcR(RRVRRW(RoRZR[texpectedbackR\((s,/usr/local/lib/python2.5/test/test_struct.pyttest_p_codes$#

c	Csddk}xtddD]}d}x$||d|jo|d:}q+W||}tid|}tid|d}t||jtid|}t|t|jd	tid|d}t||jqWd}|i|d}tid|}tid|d}t||jd}|i|d}ytid|}Wntj
onXt	ddS(Niii!g?g@s<fis>fs*>f pack should be byte-reversal of <f packiiiisexpected OverflowErroriiihiiig(
tmathR|RRVRWRR
tldexpRR(RRtdeltatsmallertpackedtunpackedt	bigpackedR((s,/usr/local/lib/python2.5/test/test_struct.pyttest_705836s8
c
Csddk}xdD]}x|ttfD]n}x+d
D]#}tti|||dq3Wtti|d|d	tti|d|d
q&Wtti|d|idtti|d|idqWdS(NiR	R3R2RIRJRKRMi,ipl(R	R3R2(RIRJRKRM(tsysR~RtR%RRVtmaxint(Rtendiantclstfmt((s,/usr/local/lib/python2.5/test/test_struct.pyttest_1229380s
!!cCstdjoSti||}ti||d}|t|jotdndSnyttWn\tit	fj
ototdqn7t
j
otptdqnXtddS(Niis$did not correcly coerce float to ints,expected DeprecationWarning for float coerces/expected to raise struct.error for float coerces$did not raise error for float coerce(tPY_STRUCT_FLOAT_COERCERRVRWR~RRRRRR(RYtnumberRtfloored((s,/usr/local/lib/python2.5/test/test_struct.pytcheck_float_coerces
c	CsHxAdD]9}x0dD](}t||dt||d
qWqWdS(NR	R3R2RIRJRKRMRHR@R'RLg?g?(R	R3R2(RIRJRKRMRHR@R'RL(R(RR((s,/usr/local/lib/python2.5/test/test_struct.pyttest_1530559scCs'tiddd }t|ddS(NRMiiss(RRVR(Rw((s,/usr/local/lib/python2.5/test/test_struct.pyttest_issue4228 scOs?y|||Wn|j
odSnXtd|dS(Ns%s not raised.(R(texcClasstcallableObjRtkwargs((s,/usr/local/lib/python2.5/test/test_struct.pytassertRaises+s
	cCsd}d}ti|}xttfD]}||}t|i|d
t|i|ddt|i|ddx;tdD]-}t|i|||||d!fqWx4tdt|d	D]}t|i||qWq(WxttfD]}||}tti||d
tti||ddtti||ddx>tdD]0}tti||||||d!fqxWx7tdt|d	D]}tti|||qWqWdS(Nt	abcd01234t4stabcditcd01it0123ii(R(R(R(R(R(R(	RtStructtstrtbufferRtunpack_fromtxrangeRbR(ttest_stringRRRtdataR'((s,/usr/local/lib/python2.5/test/test_struct.pyttest_unpack_from3s6

+

.c	Csd}tiddd}d}ti|}|i|d||it| }t|||i|d||it|d }t||d |tidd	}tti|i|d|tti|i|d|dS(
NsReykjavik rocks, eow!R8t idt21sii
is
          (	tarrayRRt	pack_intottostringRbRRR(Rtwritable_bufRRtfrom_buft	small_buf((s,/usr/local/lib/python2.5/test/test_struct.pyttest_pack_intoJs
c
sd}tiddd}dfd}||d||it| }t||||d||it|d }t||d |tidd
}tti||d|tti||d	|dS(NsReykjavik rocks, eow!R8RidRcsti|S((RR(R(R(s,/usr/local/lib/python2.5/test/test_struct.pyt<lambda>csii
is
          (RRRbRRRR(RRRRR((Rs,/usr/local/lib/python2.5/test/test_struct.pyttest_pack_into_fn_s
cCs8tidd}tid|\}t|ddS(NRIs4Vxs>IixV4(RRRWR(RR((s,/usr/local/lib/python2.5/test/test_struct.pyttest_unpack_with_bufferts(R	R1R2R3R4R5(R6R7(R8R0R0R0i(R9R0R:R:i(R;R0R<R<i(RR0R0R0i(R=R>R	R	i(R?R>R@R@i(RAR>RBRBi(RCR>R>R>i(RDR>REREit
R(RHissi(RHissi(RIissi(RIissi(R@issi(R@iDsDsDi(RJissiiD(R'i,s,s,i(R'issi(RKlXs,s,ilbw(RLi,s,s,i(RLissi(RMlXs,s,ilbw(RNg@s@ROi(R-g@s@RPi(RNgsRQi(R-gsRRi((Ri(Ri(Ri(Ri(Ri(Sttest.test_supportRRRRttestRRRRRRt	byteorderRRVtchrt_structtImportErrorRuR$RtgetattrR
RRRR#R%RUtszRtfmt3tsz3RWRR8RHR@R'RLRNR-tprefixRYtcptbpthptiptlptfptdpR~RtteststargRtliltasytxfmtRtrestnRbtrevt
has_native_qQRR_RR`RttRRRRRRRRRRRR(((s,/usr/local/lib/python2.5/test/test_struct.pys<module>sD"(								


$'AB:	*
			&	
								

Man Man