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_decorators.pyo

³ò
h”Rc@s°ddkZddklZd„Zdefd„ƒYZdefd„ƒYZddd„Z	d	„Z
d
„Zdeifd„ƒYZ
d
„ZedjoeƒndS(iÿÿÿÿN(ttest_supportcs‡fd†}|S(Ncs|iiˆƒ|S(N(t__dict__tupdate(tfunc(tkwds(s0/usr/local/lib/python2.5/test/test_decorators.pytdecorates((RR((Rs0/usr/local/lib/python2.5/test/test_decorators.pyt	funcattrsstMiscDecoratorscBseZed„ƒZRS(cs‡fd†}|S(Ncsˆ|id<|S(Ntauthor(R(R(tname(s0/usr/local/lib/python2.5/test/test_decorators.pyR
s
((R	R((R	s0/usr/local/lib/python2.5/test/test_decorators.pyRs(t__name__t
__module__tstaticmethodR(((s0/usr/local/lib/python2.5/test/test_decorators.pyR
stDbcheckErrorcBseZd„ZRS(cCs$ti|d||||fƒdS(Ns+dbcheck %r failed (func=%s args=%s kwds=%s)(t	Exceptiont__init__(tselftexprstrRtargsR((s0/usr/local/lib/python2.5/test/test_decorators.pyRs(R
RR(((s0/usr/local/lib/python2.5/test/test_decorators.pyR
scs‡‡‡fd†}|S(s+Decorator to implement debugging assertionscs8tˆdˆidƒ‰‡‡‡‡‡fd†}|S(Ns
dbcheck-%stevalcs9tˆˆˆƒptˆˆ||ƒ‚nˆ||ŽS(N(RR
(RR(RtexprRtglobalstlocals(s0/usr/local/lib/python2.5/test/test_decorators.pytchecks(tcompilet	func_name(RR(RRR(RRs0/usr/local/lib/python2.5/test/test_decorators.pyRs((RRRR((RRRs0/usr/local/lib/python2.5/test/test_decorators.pytdbcheckscs‡fd†}|S(s&Decorator to count calls to a functioncs5ˆi‰dˆˆ<‡‡‡fd†}ˆ|_|S(Nicsˆˆcd7<ˆ||ŽS(Ni((RR(RtcountsR(s0/usr/local/lib/python2.5/test/test_decorators.pytcall-s(R(RR(R(RRs0/usr/local/lib/python2.5/test/test_decorators.pyR*s
	
	((RR((Rs0/usr/local/lib/python2.5/test/test_decorators.pyt
countcalls(scs(h‰‡‡fd†}ˆi|_|S(Ncs\yˆ|SWnItj
o!ˆ|Œ}|ˆ|<|Sntj
oˆ|ŒSnXdS(N(tKeyErrort	TypeError(Rtres(Rtsaved(s0/usr/local/lib/python2.5/test/test_decorators.pyR8s
(R(RR((R!Rs0/usr/local/lib/python2.5/test/test_decorators.pytmemoize6s
tTestDecoratorscBsbeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„ZRS(
cCsIdtfd„ƒY}|i|iƒdƒ|i|ƒiƒdƒdS(NtCcBseZed„ƒZRS(cSsdS(Ni*((((s0/usr/local/lib/python2.5/test/test_decorators.pytfooKs(R
RRR%(((s0/usr/local/lib/python2.5/test/test_decorators.pyR$Jsi*(tobjecttassertEqualR%(RR$((s0/usr/local/lib/python2.5/test/test_decorators.pyttest_singleIscCs&td„ƒ}|it|dƒdS(NcSs|S(N((tx((s0/usr/local/lib/python2.5/test/test_decorators.pyt
notamethodQsi(RtassertRaisesR(RR*((s0/usr/local/lib/python2.5/test/test_decorators.pyttest_staticmethod_functionPscCsKtƒ}|idƒd„ƒ}|i|ƒdƒ|i|idƒdS(NtCleesecSsdS(Ni*((((s0/usr/local/lib/python2.5/test/test_decorators.pyR%Xsi*(RRR'(Rt
decoratorsR%((s0/usr/local/lib/python2.5/test/test_decorators.pyttest_dottedVs	cCsüd„}d}tdddd	ƒ}|||Žd
„ƒ}|i|ƒdƒ|i|i||fƒ|dd
ddddƒd„ƒ}|i|ƒdƒ|i|idtddddƒfƒ|dd	ƒd„ƒ}|i|idhfƒdS(Ncs‡‡fd†}|S(Ncst|dˆˆfƒ|S(Ntdbval(tsetattr(R(RR(s0/usr/local/lib/python2.5/test/test_decorators.pyRbs((RRR((RRs0/usr/local/lib/python2.5/test/test_decorators.pytnoteargsastNowtistthettimetoneittwoicSsdS(Ni*((((s0/usr/local/lib/python2.5/test/test_decorators.pytf1isi*tterrytgilliamterictidletjohntcleesecSsdS(NiT((((s0/usr/local/lib/python2.5/test/test_decorators.pytf2nsiTcSsdS(N((((s0/usr/local/lib/python2.5/test/test_decorators.pytf3ts(R3R4R5R6(R:R;(ii(tdictR'R0(RR2RRR9R@RA((s0/usr/local/lib/python2.5/test/test_decorators.pyt
test_argforms]s	$cCsHtdƒd„ƒ}|i|ddƒdƒ|it|ddƒdS(Nsargs[1] is not NonecSs||S(N((tatb((s0/usr/local/lib/python2.5/test/test_decorators.pytfysiii(RR'R+R
tNone(RRF((s0/usr/local/lib/python2.5/test/test_decorators.pyttest_dbcheckxscCs5h}tt|ƒd„ƒƒ}|i|idƒ|i|tddƒƒ|i|dƒdƒ|i|ddƒ|i|dƒdƒ|i|ddƒ|i|dƒdƒ|i|ddƒ|i|d	gƒd	d	gƒ|i|ddƒ|i|d	gƒd	d	gƒ|i|ddƒdS(
NcSs|dS(Ni((R)((s0/usr/local/lib/python2.5/test/test_decorators.pytdouble‚sRIiiiiiii
(R"RR'RRB(RRRI((s0/usr/local/lib/python2.5/test/test_decorators.pyttest_memoizescCsõxJdddgD]9}t|ddƒd|}|itt|ddƒqW|ittdddƒd	„}td
dd|ƒ}xjdtfd
tfd
tfdtfgD]>\}}d|}t|ddƒ}|i|t	||ƒq¯WdS(Ns1+2sx[3]s(1, 2)ttestexprtexecs@%s
def f(): passttests@f1 @f2
def f(): passcSs
t‚dS(N(tNotImplementedError(R((s0/usr/local/lib/python2.5/test/test_decorators.pytunimp«stnullvalROtundefsnullval.attrs$@%s
def f(): pass
assert f() is None(
RR+tSyntaxErrorRBRGt	NameErrorRtAttributeErrorRNR(RRtcodestrROtcontexttexctcode((s0/usr/local/lib/python2.5/test/test_decorators.pyttest_errorsšs"

			

cCsudtfd„ƒY}|i|ƒiƒdƒ|i|iidƒ|i|iidƒ|i|iidƒdS(NR$cBs5eZeddddƒeddƒd„ƒƒZRS(tabcitxyzthahatboohi*cSsdS(Ni*((R((s0/usr/local/lib/python2.5/test/test_decorators.pyR%¹s(R
RRR%(((s0/usr/local/lib/python2.5/test/test_decorators.pyR$¸si*iR\(R&R'R%RZR[R](RR$((s0/usr/local/lib/python2.5/test/test_decorators.pyttest_double·s
cCsDd„}|dƒ|dƒd„ƒƒ}|i|ƒddƒdS(Ncs‡fd†}|S(s„Decorator factory that returns a decorator that replaces the
            passed-in function with one that returns the value of 'num'cs
‡fd†S(NcsˆS((((tnum(s0/usr/local/lib/python2.5/test/test_decorators.pyt<lambda>Ès((R(R_(s0/usr/local/lib/python2.5/test/test_decorators.pytdecoÇs((R_Ra((R_s0/usr/local/lib/python2.5/test/test_decorators.pytcallnumÄsiicSsdS(Ni*((((s0/usr/local/lib/python2.5/test/test_decorators.pyR%Êss,Application order of decorators is incorrect(R'(RRbR%((s0/usr/local/lib/python2.5/test/test_decorators.pyt
test_orderÁs
		csYg‰‡fd†‰dtf‡‡fd†ƒY}t|dddgƒ\}}}ddd	d
ddd
dddddg}g‰|i|iƒ|i|iƒ|i|iƒd„ƒƒƒ}|i|ƒdƒ|iˆ|ƒg‰d„}|i|iƒ|i|iƒ|i|iƒ|ƒƒƒ}|i|ƒdƒ|iˆ|ƒdS(Ncs'ˆidˆƒ‡‡fd†}|S(Ntmakedeccsˆidˆƒ|S(Ntcalldec(tappend(R(ttagtactions(s0/usr/local/lib/python2.5/test/test_decorators.pyRâs(Rf(RgR(Rh(Rgs0/usr/local/lib/python2.5/test/test_decorators.pytmake_decoratoràstNameLookupTracercs#eZd„Z‡‡fd†ZRS(cSs
||_dS(N(tindex(RRk((s0/usr/local/lib/python2.5/test/test_decorators.pyRèscsc|djodˆ}}n(|djodt|iƒ}}nˆid||ifƒ|S(NRitevalnametargtevalargss%s%d(tstrRkRf(RtfnametopnameR (RhRi(s0/usr/local/lib/python2.5/test/test_decorators.pyt__getattr__ës

(R
RRRr((RhRi(s0/usr/local/lib/python2.5/test/test_decorators.pyRjçs	iiit	evalname1t	evalargs1tmakedec1t	evalname2t	evalargs2tmakedec2t	evalname3t	evalargs3tmakedec3tcalldec3tcalldec2tcalldec1cSsdS(Ni*((((s0/usr/local/lib/python2.5/test/test_decorators.pyR%ýsi*cSsdS(Ni*((((s0/usr/local/lib/python2.5/test/test_decorators.pytbars(R&tmapRiRmR'(RRjtc1tc2tc3texpected_actionsR%R((RhRis0/usr/local/lib/python2.5/test/test_decorators.pyttest_eval_orderÐs&!			!	<(R
RR(R,R/RCRHRJRYR^RcR…(((s0/usr/local/lib/python2.5/test/test_decorators.pyR#Gs								
	cCstitƒdS(N(Rtrun_unittestR#(((s0/usr/local/lib/python2.5/test/test_decorators.pyt	test_main
st__main__(tunittestRMRRR&RRR
RGRRR"tTestCaseR#R‡R
(((s0/usr/local/lib/python2.5/test/test_decorators.pys<module>s	

		Æ	


Man Man