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

³ò
h”Rc
@s›ddkZddkZddklZddkZeiddeddƒddklZdeifd	„ƒYZ	d
„Z
edjoe
ƒndS(iÿÿÿÿN(ttest_supporttignoretcategorytmessages .*complex divmod.*are deprecated(trandomtComplexTestcBsËeZd„Zdd„Zdd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„Zd„Z
d
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsòt|tƒo‚t|tƒo<tii||i|iƒtii||i|iƒqîtii||i|ƒtii||idƒn]t|tƒo6tii|||iƒtii|d|iƒntii|||ƒdS(Ng(t
isinstancetcomplextunittesttTestCasetassertAlmostEqualtrealtimag(tselftatb((s-/usr/local/lib/python2.5/test/test_complex.pyR
s g•Ö&è.>cCs‘t|ƒt|ƒjo||}}n|djot|ƒ|jSn|djot|ƒ|jSn|it|||ƒ|jƒdS(s*Return true iff floats x and y "are close"iN(tabstassert_(R
txtyteps((s-/usr/local/lib/python2.5/test/test_complex.pytassertCloseAbs s

cCs6|i|i|i|ƒ|i|i|i|ƒdS(s-Return true iff complexes x and y "are close"N(RRR(R
RRR((s-/usr/local/lib/python2.5/test/test_complex.pytassertClose,scCs|i||jƒdS(N(R(R
RR((s-/usr/local/lib/python2.5/test/test_complex.pytassertIs1scCsà||}|djo\||}|i||ƒ|i|ƒ}|i||ƒ|i|ƒ}|i||ƒn|djo\||}|i||ƒ|i|ƒ}|i||ƒ|i|ƒ}|i||ƒndS(s8Compute complex z=x*y, and check that z/x==y and z/y==x.iN(Rt__div__t__truediv__(R
RRtztq((s-/usr/local/lib/python2.5/test/test_complex.pyt	check_div4s




cCs-g}tddƒD]}|t|ƒq~}g}|D]#}|D]}|t||ƒqEq;~}x/|D]'}x|D]}|i||ƒq{WqnW|itddƒd
ƒ|itddƒdƒxBtdƒD]4}|ittƒtƒƒttƒtƒƒƒqØW|ittidd
ƒdS(NiûÿÿÿigZb××çtiiyg¬÷N’~hidyð?iyð?yð?yð?ð?y(txrangetfloatRRRtassertRaisestZeroDivisionErrorR(R
t_[1]titsimple_realt_[2]RRtsimple_complex((s-/usr/local/lib/python2.5/test/test_complex.pyttest_divFs07
cCs9|itiddƒdƒ|ittid	d
ƒdS(Niyiyð?iy@yð?ð?yð?ð¿yð?ð?y(R
RRRR (R
((s-/usr/local/lib/python2.5/test/test_complex.pyttest_truediv[scCs9|itiddƒdƒ|ittidd	ƒdS(
Niygø?iiy@yø?y@y(R
Rt__floordiv__RR (R
((s-/usr/local/lib/python2.5/test/test_complex.pyt
test_floordiv_scCs|ittiddƒdS(Niyð?li'yð?ð?l›(Rt
OverflowErrorRt
__coerce__(R
((s-/usr/local/lib/python2.5/test/test_complex.pyttest_coercecscCs
|ittiddƒ|itid	dƒtƒ|itid
dƒt	ƒ|itidd
ƒt
ƒ|itiddƒt
ƒ|itiddƒt	ƒ|ittiddƒ|itti
ddƒ|ittiddƒ|ittiddƒdS(Niyð?li'iy@yð?ð?l›yð?ð?yð?ð?yð?ð?yð?ð?y@@yð?ð?yð?ð?yð?ð?y@@yð?ð?y@@yð?ð?y@@yð?ð?y@@yð?ð?y@@(RR*Rt__eq__tassertEqualt__lt__tNonetNotImplementedRtTruetFalset__ne__t	TypeErrort__le__t__gt__t__ge__(R
((s-/usr/local/lib/python2.5/test/test_complex.pyttest_richcomparefscCsO|itdid	ƒd
}y|dWntj
onX|idƒdS(Niyð?iyg¤p=
×£
@y¸…ëQ¸@smodulo parama can't be 0yð?ð?yy¤p=
×£
@¸…ëQ¸@(RR t__mod__tfail(R
R((s-/usr/local/lib/python2.5/test/test_complex.pyttest_modrscCs|ittddƒdS(Niyð?iyyð?ð?y(RR tdivmod(R
((s-/usr/local/lib/python2.5/test/test_complex.pyttest_divmod}scCsÂ|itddƒdƒ|itddƒdƒ|ittddƒ|itddƒddƒ|itdd	ƒdƒ|ittdddƒd}|i|ddƒ|i|dddƒ|iddƒ|iddƒyd|Wntj
onX|id
ƒydd Wntj
onX|id
ƒ|i|d|dƒ|i|d|dƒ|i|d|dƒ|id!dƒd"}|itt||dƒdS(#Niyð?iygð?igiÿÿÿÿiÈg¤p=
×£
@y¸…ëQ¸@y@s,should fail 0.0 to negative or complex poweriy@iii—ÿÿÿiâÿÿÿgffffff@yffffff@yð?ð?yyy@yyð?ð?yð?ð?yð?ð?y¤p=
×£
@¸…ëQ¸@yð?yð?y@Àyð?yffffff@ffffff@(R
tpowRR t
ValueErrorR.R;(R
RR((s-/usr/local/lib/python2.5/test/test_complex.pyttest_pow€s6

cCsVx8tdƒD]*}|ittƒdtƒdƒƒq
W|itddƒƒdS(Nidgíµ ÷Æ°>g(RRRR(R
R"((s-/usr/local/lib/python2.5/test/test_complex.pyttest_boolcontext§s
(cCs#|itddƒiƒdƒdS(Ng333333@gš™™™™™#@yš™™™™™#@y333333@š™™™™™#À(RRt	conjugate(R
((s-/usr/local/lib/python2.5/test/test_complex.pyttest_conjugate¬sc	s7ddFd„ƒY}dtfd„ƒY}|it|dGƒƒdHƒ|it|dIƒƒdJƒ|itt|dƒƒ|itt|dƒƒ|itdƒdKƒ|itdƒdLƒ|itd
ƒdMƒ|itdƒdNƒ|itdOƒdPƒ|itddƒdQƒ|itddƒdRƒ|itdd
ƒdSƒ|itddƒdTƒ|itddƒdUƒ|itdd
ƒdVƒ|itd
dƒdWƒ|itd
dƒdXƒ|itd
d
ƒdYƒ|itdZƒd[ƒ|itdƒd\ƒ|itdƒd]ƒ|itdƒd^ƒ|itd_d	ƒd`ƒ|itddƒdaƒ|itddƒdbƒ|itddƒdcƒ|itd	dƒddƒ|itddƒdeƒ|itd	dƒdƒ|itddƒdƒ|itdƒdfƒ|itdƒdƒ|itƒdƒ|itdƒdƒ|itdƒd
ƒdtfd„ƒY}|it|dgƒƒdhƒ|itdd d!d"ƒdiƒ|itddjƒdkƒ|itddld!d"ƒdmƒ|itddnd!doƒdpƒdq}|it|ƒ|jƒ~|ittddƒ|ittddƒ|itd*ƒdrƒti	o |itt
d*ƒƒdsƒn|ittd+ƒ|ittdtƒ|itt
duƒ|ittdvƒ|ittd.ƒ|ittdƒ|ittd/ƒ|ittdd0ƒ|ittdd1ƒ|ittdd0ƒ|ittd2ƒ|ittd3ƒ|ittd4ƒti	o:|ittt
dd5ƒƒ|ittt
d6ƒƒnd7tfd8„ƒY‰d9dw‡fd:†ƒY}|iˆt|ƒƒd;dxd<„ƒY}|it|d=ƒƒd1ƒ|itd|d>ƒd!|d?ƒƒdyƒ|itt|dƒƒd@tfdA„ƒY}dBtfdC„ƒY}dtfdD„ƒY}|it|dƒƒdEƒ|it|dƒƒd%ƒ|itt|dƒƒdS(zNtOScBseZd„Zd„ZRS(cSs
||_dS(N(tvalue(R
RF((s-/usr/local/lib/python2.5/test/test_complex.pyt__init__±scSs|iS(N(RF(R
((s-/usr/local/lib/python2.5/test/test_complex.pyt__complex__²s(t__name__t
__module__RGRH(((s-/usr/local/lib/python2.5/test/test_complex.pyRE°s	tNScBseZd„Zd„ZRS(cSs
||_dS(N(RF(R
RF((s-/usr/local/lib/python2.5/test/test_complex.pyRG´scSs|iS(N(RF(R
((s-/usr/local/lib/python2.5/test/test_complex.pyRHµs(RIRJRGRH(((s-/usr/local/lib/python2.5/test/test_complex.pyRK³s	iy$@s1+10ji
yg$@l
lgð?g…ëQ¸	@i:g s@l:gily…ëQ¸	@g…ëQ¸	Àt1t1jyð?s-1iÿÿÿÿs+1tcomplex2cBseZRS((RIRJ(((s-/usr/local/lib/python2.5/test/test_complex.pyRNÛsRiRiy7@yG@y@iy@iýÿÿÿy@s
  3.14+J  s1+1jjiy@ttt2i*s1+s1+1j+1js--iôRtEvilExccBseZRS((RIRJ(((s-/usr/local/lib/python2.5/test/test_complex.pyRRstevilcomplexcseZ‡fd†ZRS(cs
ˆ‚dS(N((R
(RR(s-/usr/local/lib/python2.5/test/test_complex.pyRHs(RIRJRH((RR(s-/usr/local/lib/python2.5/test/test_complex.pyRSstfloat2cBseZd„Zd„ZRS(cSs
||_dS(N(RF(R
RF((s-/usr/local/lib/python2.5/test/test_complex.pyRGscSs|iS(N(RF(R
((s-/usr/local/lib/python2.5/test/test_complex.pyt	__float__
s(RIRJRGRU(((s-/usr/local/lib/python2.5/test/test_complex.pyRT
s	gE@g1@g7@tcomplex0cBseZdZd„ZRS(s:Test usage of __complex__() when inheriting from 'complex'cSsdS(NyE@((R
((s-/usr/local/lib/python2.5/test/test_complex.pyRHs(RIRJt__doc__RH(((s-/usr/local/lib/python2.5/test/test_complex.pyRVstcomplex1cBs#eZdZdd„Zd„ZRS(s3Test usage of __complex__() with a __new__() methodycSsti|d|ƒS(Ni(Rt__new__(R
RF((s-/usr/local/lib/python2.5/test/test_complex.pyRYscSs|S(N((R
((s-/usr/local/lib/python2.5/test/test_complex.pyRHs(RIRJRWRYRH(((s-/usr/local/lib/python2.5/test/test_complex.pyRXscBseZdZd„ZRS(s`Make sure that __complex__() calls fail if anything other than a
            complex is returnedcSsdS(N(R0(R
((s-/usr/local/lib/python2.5/test/test_complex.pyRH#s(RIRJRWRH(((s-/usr/local/lib/python2.5/test/test_complex.pyRN syE@(yð?$@yð?$@yð?$@yð?$@yð?$@y$@y$@y$@y$@y$@yð?$@yð?$@yð?$@yð?$@yð?$@yð?$@yð?$@yð?$@yð?$@y…ëQ¸	@y…ëQ¸	@y…ëQ¸	@y s@y s@y…ëQ¸	@y…ëQ¸	@y…ëQ¸	@y s@y s@y…ëQ¸	Ày…ëQ¸	Àyð?yð?ð?yð?ð?y1@7@y1@7@y1@7@y1@7@y1@G@yð?@y@@yÀ@y…ëQ¸	@ð?y…ëQ¸	@ð?y…ëQ¸	@ð?y@@y@@y@@((y1@7@(tobjectR.RRR5R0R
RRthave_unicodetunicodeR@tinttlongRt	Exception(	R
RERKRNtcRSRTRVRX((RRs-/usr/local/lib/python2.5/test/test_complex.pyttest_constructor¯s 
 
+cCsrxktddƒD]Z}|it|ƒtt|dƒƒƒ|d:}|it|ƒtt|dƒƒƒqWdS(Niâÿÿÿiig@g(RR.thashR(R
R((s-/usr/local/lib/python2.5/test/test_complex.pyt	test_hash*s
%
cCs’g}tddƒD]4}tddƒD]}|t|d|dƒq'q~}x:|D]2}|i|id|iddt|ƒƒqXWdS(Ni÷ÿÿÿi	g@g@igà?(RRR
RRR(R
R!RRtnumstnum((s-/usr/local/lib/python2.5/test/test_complex.pyttest_abs0sQcCsF|itdƒdƒ|itdƒdƒ|itd
ƒdƒdS(Niy@s(1+6j)s(1-6j)ys(-1+-0j)yð?@yð?Àyð?yð¿€(R.treprtassertNotEqual(R
((s-/usr/local/lib/python2.5/test/test_complex.pyt	test_repr5scCs|iddƒdS(Niy@iÿÿÿÿyð?@yð¿Àyð¿À(R.(R
((s-/usr/local/lib/python2.5/test/test_complex.pyttest_neg;sc
CsÒd}d	}d}zbttidƒ}||I|IJ|iƒttidƒ}|i|iƒd||fƒWd|dj	o|io|iƒnyti	tiƒWnt
tfj
onXXdS(
Ng¤p=
×£
@y¸…ëQ¸@gffffff@yffffff@twbtrbs%s %s
y¤p=
×£
@¸…ëQ¸@yffffff@ffffff@(R0topenRtTESTFNtcloseR.treadtclosedtostremovetOSErrortIOError(R
RRtfo((s-/usr/local/lib/python2.5/test/test_complex.pyt	test_file>s
$(RIRJR
RRRRR&R'R)R,R9R<R>RARBRDRaRcRfRiRjRw(((s-/usr/local/lib/python2.5/test/test_complex.pyRs*											'			{				cCstitƒdS(N(Rtrun_unittestR(((s-/usr/local/lib/python2.5/test/test_complex.pyt	test_mainQst__main__(RRrttestRtwarningstfilterwarningstDeprecationWarningRR	RRyRI(((s-/usr/local/lib/python2.5/test/test_complex.pys<module>sÿC	


Man Man