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

³ò
h”Rc
@s³ddkZddkZddkZddkZddklZddkZddklZ	dei
fd„ƒYZdei
fd„ƒYZd„Z
ed	joe
ƒndS(
iÿÿÿÿN(trun_unittest(tsystemtExceptionClassTestscBsSeZdZd„Zd„Zd„ZdZd„Zd„Zd
„Z	d„Z
RS(s]Tests for anything relating to exception objects themselves (e.g.,
    inheritance hierarchy)cCs|itttƒƒdS(N(t
failUnlesst
issubclasst	Exceptiontobject(tself((s,/usr/local/lib/python2.5/test/test_pep352.pyttest_builtins_new_stylescCs>x7dD]/}|it||ƒd|ii|fƒqWdS(Ntargstmessaget__str__t__repr__t__getitem__s%s missing %s attribute(sargssmessages__str__s__repr__s__getitem__(Rthasattrt	__class__t__name__(Rtinstattr((s,/usr/local/lib/python2.5/test/test_pep352.pytverify_instance_interfacescCsâtd„ttƒDƒƒ}ttiitiitƒddƒƒ}zl|i	ƒi
ƒ}ytt|ƒ}Wn$t
j
o|id|ƒnX|i||jƒ|i|ƒg}d}xí|D]å}|i
ƒ}|idƒ}||d}	d|	joV|	idƒ}
|	|
dd	!}|	|
d }	tƒ|jo|i|	ƒqÉq[nd
|	jo!|	id
ƒ}|	|d }	nytt|	ƒ}
Wn$t
j
o|id|	ƒnX||jo|i||fƒn9||jo+x(|d	d|jo|iƒq÷Wn|it|
|d	dƒd|
i|d	difƒy|i|
ƒƒWntj
onX|i|	|jƒ|i|	ƒ|
}|}qÉWWd|iƒX|it|ƒdd
|ƒdS(Ncss-x&|]}|idƒp	|VqqWdS(t_N(t
startswith(t.0tx((s,/usr/local/lib/python2.5/test/test_pep352.pys	<genexpr>s	isexception_hierarchy.txtsbase class %s not a built-int-it(iiÿÿÿÿt[s%s not a built-in exceptions%s is not a subclass of %ss%s not accounted for(tsettdirt
exceptionstopentostpathtjointsplitt__file__treadlinetrstriptgetattrt__builtin__tAttributeErrortfailRtdiscardtrindextindextplatform_systemtappendtpopRRRt	TypeErrortclosetfailUnlessEqualtlen(Rtexc_settinheritance_treetsuperclass_nametlast_exctsuperclassest
last_depthtexc_linetdepthtexc_nametparen_indext
platform_nametleft_brackettexc((s,/usr/local/lib/python2.5/test/test_pep352.pyttest_inheritancesf





	
tlengthR	R
tstrtunicodetreprtindexingcCsMxFt|i|ƒD]2\}\}}|i||d|||fƒqWdS(Ns%s: %s != %s(tziptinterface_testsR2(Rtresultst	test_nametgiventexpected((s,/usr/local/lib/python2.5/test/test_pep352.pytinterface_test_driverNsc	Cs°d}t|ƒ}t|iƒdg|id|g|i|gt|ƒt|ƒgt|ƒt|ƒgt|ƒ|iit|iƒg|d|gf}|i	|ƒdS(Ntspamii(
RR3R	R
RCRDRERRRM(RtargR@RI((s,/usr/local/lib/python2.5/test/test_pep352.pyttest_interface_single_argSs.*5c	CsÂd}tt|ƒƒ}t|Œ}t|iƒ|g|i|g|idgt|ƒt|ƒgt|ƒt|ƒgt|ƒ|i	i
t|iƒg|d|dgf}|i|ƒdS(Nitiÿÿÿÿ(ttupletrangeRR3R	R
RCRDRERRRM(Rt	arg_countR	R@RI((s,/usr/local/lib/python2.5/test/test_pep352.pyttest_interface_multi_arg\s!"cCstƒ}t|iƒdg|itƒg|idgt|ƒdgt|ƒdgt|ƒ|ii	dgt
t
gf}|i|ƒdS(NiRQus()(RR3R	RRR
RCRDRERRtTrueRM(RR@RI((s,/usr/local/lib/python2.5/test/test_pep352.pyttest_interface_no_arghs
	-((RBsargssmessagesstrsunicodesreprRF(Rt
__module__t__doc__RRRARHRMRPRURW(((s,/usr/local/lib/python2.5/test/test_pep352.pyR	s			5				t
UsageTestscBsDeZdZd„Zd„Zd„Zd„Zd„Zd„ZRS(sTest usage of exceptionscCsti|_dS(N(twarningstfilterst_filters(R((s,/usr/local/lib/python2.5/test/test_pep352.pytsetUptscCs|it_dS(N(R]R[R\(R((s,/usr/local/lib/python2.5/test/test_pep352.pyttearDownwscCs€ddd„ƒY}y
|‚Wn&|j
on|idƒnXy
|ƒ‚Wn&|j
on|idƒnXdS(NtClassicClasscBseZRS((RRX(((s,/usr/local/lib/python2.5/test/test_pep352.pyR`{ssunable to raise classic classs$unable to raise class class instance((R)(RR`((s,/usr/local/lib/python2.5/test/test_pep352.pyttest_raise_classiczs

cCsƒdtfd„ƒY}y
|‚Wn&tj
on|idƒnXy
|ƒ‚Wn&tj
on|idƒnXdS(Nt
NewStyleClasscBseZRS((RRX(((s,/usr/local/lib/python2.5/test/test_pep352.pyRb‹ssunable to raise new-style classs(unable to raise new-style class instance(RR0R)(RRb((s,/usr/local/lib/python2.5/test/test_pep352.pyt"test_raise_new_style_non_exceptionŠs

cCsNtiƒtidƒy
d‚Wn&tj
on|idƒnXdS(NterrorRNs3raising a string did not cause a DeprecationWarning(R[t
resetwarningstfilterwarningstDeprecationWarningR)(R((s,/usr/local/lib/python2.5/test/test_pep352.pyttest_raise_stringšs


cCsMtiddƒd}y
|‚Wn&|j
on|idƒnXdS(NtignoretraisingRNs"catching a string exception failed(R[RfR)(Rtstr_exc((s,/usr/local/lib/python2.5/test/test_pep352.pyttest_catch_string¤s
(	RRXRYR^R_RaRcRhRl(((s,/usr/local/lib/python2.5/test/test_pep352.pyRZps					
cCstttƒdS(N(RRRZ(((s,/usr/local/lib/python2.5/test/test_pep352.pyt	test_main°st__main__(tunittestR'RR[ttest.test_supportRRtplatformRR-tTestCaseRRZRmR(((s,/usr/local/lib/python2.5/test/test_pep352.pys<module>sg@	


Man Man