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

hRc@snddklZddkZddkZddkZdZdHdIdJge_d	ZdKdLdMdNdOge_dZdPdQdRdSdTge_dZ	dUdVdWdXdYdZd[d\d]d^g
e	_dZ
d_d`dadbdcge
_dZdZdddedfdgdhdige_dZ
dZdjdkdldmdndodpdqdrdsdtge_dZdZduge_dZdZdvdwdxdyge_dZdzd{d|d}d~ddge_dZdddddddddddddg
e_d Zddddddddddddge_d!Zd"Zddddddddddg
ddgd&ddge_d'dd(YZd)eifd*YZd+eifd,YZd-dd.YZd/Zde_d
ge_d0Z de _ddd
ge _d1Z!de!_d
dge!_d2Z"de"_dd
ddd
dddge"_d3Z#de#_d
ge#_d4Z$de$_dd
d
ge$_d5Z%de%_d
d6ge%_d7Z&de&_d
e'ge&_d8Z(de(_d
e'ge(_d9Z)de)_e'ge)_d:Z*de*_e'ge*_d;Z+de+_e'ge+_d<Z,de,_e'ge,_d=Z-de-_e'ge-_d>Z.de._d
d
e'ge._d?Z/de/_d
de'ge/_d@Z0de0_d
e'ge0_dAZ1de1_e'ge1_dCZ2dDeifdEYZ3dFZ4e5dGjoe4ndS(i(ttest_supportNcCsdS(Ni((((s+/usr/local/lib/python2.5/test/test_trace.pytbasic	sitcallitlinetreturncCsd}~d}dS(Ni((tx((s+/usr/local/lib/python2.5/test/test_trace.pyt
arigo_examplesiicCsd}~d}dS(Ni((R((s+/usr/local/lib/python2.5/test/test_trace.pytone_instr_line'sicCs8d}x+tdD]}|o
d}qd}qWdS(Nii(trange(Rta((s+/usr/local/lib/python2.5/test/test_trace.pytno_pop_tops2s

iicCs#d}x|ptq	Wd}dS(Ni(tbla(tyR((s+/usr/local/lib/python2.5/test/test_trace.pyt
no_pop_blocksEs
	cCs
d}dS(Ni((R((s+/usr/local/lib/python2.5/test/test_trace.pytcalledQscCstdS(N(R(((s+/usr/local/lib/python2.5/test/test_trace.pyRTsiicCs
tdS(N(t	Exception(((s+/usr/local/lib/python2.5/test/test_trace.pytraises^scCs-ytWntj
o}d}nXdS(Ni(RR(texcR((s+/usr/local/lib/python2.5/test/test_trace.pyt
test_raiseast	exceptioncCs#ti||tii_dS(N(tsystsettracet	_getframetf_backtf_trace(t	tracefunc((s+/usr/local/lib/python2.5/test/test_trace.pyt_settrace_and_returnss
cCst|dS(N(R(R((s+/usr/local/lib/python2.5/test/test_trace.pytsettrace_and_returnvscCs)ti||tii_tdS(N(RRRRRtRuntimeError(R((s+/usr/local/lib/python2.5/test/test_trace.pyt_settrace_and_raise{s
cCs*yt|Wntj
o	}nXdS(N(RR(RR((s+/usr/local/lib/python2.5/test/test_trace.pytsettrace_and_raisescCs+d}d}||jo|d}ndS(Nii((R	tb((s+/usr/local/lib/python2.5/test/test_trace.pytireturn_examples

cCsMtdd}y$d}x||}|d7}qWntj
onXdS(Niii(Rt
IndexError(titemstiR((s+/usr/local/lib/python2.5/test/test_trace.pyttightloop_examples
icCsCtdd}yd}x
||}qWntj
onXdS(Niii(RR!(R"R#((s+/usr/local/lib/python2.5/test/test_trace.pyttighterloop_examplesccsz	tVWdXdS(N(tTrue(((s+/usr/local/lib/python2.5/test/test_trace.pytgenerator_functionscCs0tt}xtdD]}|}qWdS(Ni
(tanyR'R(RR((s+/usr/local/lib/python2.5/test/test_trace.pytgenerator_examples
iiii
tTracercBs#eZdZdZdZRS(cCs
g|_dS(N(tevents(tself((s+/usr/local/lib/python2.5/test/test_trace.pyt__init__scCs |ii|i|f|iS(N(R+tappendtf_linenottrace(R,tframeteventtarg((s+/usr/local/lib/python2.5/test/test_trace.pyR0scCs1ddgD|ii|i|f|iS(Ncssx|]}|VqWdS(N((t.0to((s+/usr/local/lib/python2.5/test/test_trace.pys	<genexpr>s	i(R+R.R/R0(R,R1R2R3((s+/usr/local/lib/python2.5/test/test_trace.pyttraceWithGenexps(t__name__t
__module__R-R0R6(((s+/usr/local/lib/python2.5/test/test_trace.pyR*s		t
TraceTestCasecBseZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZRS(c
Csg}|D]\}}||||fq~}||jol|idditig}|D]}|t|q^~g}	|D]}|	t|q~	ndS(Ns"events did not match expectation:
s
(tfailtjointdifflibtndifftstr(
R,tline_offsetR+texpected_eventst_[1]tltet_[2]Rt_[3]((s+/usr/local/lib/python2.5/test/test_trace.pytcompare_eventss1
0cCsMt}ti|i|tid|i|ii|i|dS(N(	R*RRR0tNoneRFt	func_codetco_firstlinenoR+(R,tfuncR+ttracer((s+/usr/local/lib/python2.5/test/test_trace.pytrun_and_compares	
cCs|i||idS(N(RLR+(R,RJ((s+/usr/local/lib/python2.5/test/test_trace.pytrun_testscCsFt}||itid|i|ii|i|idS(N(	R*R0RRRGRFRHRIR+(R,RJRK((s+/usr/local/lib/python2.5/test/test_trace.pyt	run_test2
s
	

cCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt
test_01_basicscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt
test_02_arigoscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_03_one_instrscCs|itdS(N(RMR
(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_04_no_pop_blocksscCs|itdS(N(RMR
(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_05_no_pop_topsscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_06_callscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt
test_07_raisescCs|itdS(N(RNR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_08_settrace_and_return scCs|itdS(N(RNR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_09_settrace_and_raise"scCs|itdS(N(RMR (R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_10_ireturn$scCs|itdS(N(RMR$(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_11_tightloop&scCs|itdS(N(RMR%(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_12_tighterloop(scCs]|itt}ti|ittid|itii	|i
ti
dS(N(RMR)R*RRR6RGRFRHRIR+(R,RK((s+/usr/local/lib/python2.5/test/test_trace.pyttest_13_genexp+s
	
cCs)d}|i|dd	d
dgdS(NcSstotntdS(Ni(R&tFalse(((s+/usr/local/lib/python2.5/test/test_trace.pytonliners9siRiRiR(iscall(isline(isline(iR(RL(R,R]((s+/usr/local/lib/python2.5/test/test_trace.pyttest_14_onliner_if8s	cCscd}|i|ddd
ddddgd}|i|ddddddddgdS(NcSsxtdD]}q
WdS(Ni(R(R((s+/usr/local/lib/python2.5/test/test_trace.pytfor_exampleFs
iRiRiRcSs)d}x|djo|d8}q	WdS(Niii((R((s+/usr/local/lib/python2.5/test/test_trace.pyt
while_exampleSs
ii(iscall(isline(isline(isline(isline(isline(isreturn(iscall(isline(isline(isline(isline(isline(isline(isreturn(RL(R,R_R`((s+/usr/local/lib/python2.5/test/test_trace.pyt
test_15_loopsDs*	
	cBs1dddddU|ied
ddgdS(
Ns	def f():
s
is    passiRiRR(iscall(isline(isreturn(RLtf(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_16_blank_linescs(R7R8RFRLRMRNRORPRQRRRSRTRURVRWRXRYRZR[R^RaRc(((s+/usr/local/lib/python2.5/test/test_trace.pyR9s(																	
		tRaisingTraceFuncTestCasecBsPeZdZdZdZdZdZdZdZdZ	RS(cCs%||ijo
tn|iSdS(sXA trace function that raises an exception in response to a
        specific trace event.N(traiseOnEventt
ValueErrorR0(R,R1R2R3((s+/usr/local/lib/python2.5/test/test_trace.pyR0ms
cCs,|idjod}d|}ndSdS(sThe function to trace; raises an exception if that's the case
        we're testing, so that the 'exception' trace event fires.RiiN(Re(R,RR((s+/usr/local/lib/python2.5/test/test_trace.pyRbusc	Cs||_yfx_ttidD]G}ti|iy|iWntj
oq#X|idq#WWn t	j
o|idnXdS(sTTests that an exception raised in response to the given event is
        handled OK.isexception not thrown!srecursion counter not resetN(
RetxrangeRtgetrecursionlimitRR0RbRfR:R(R,R2R#((s+/usr/local/lib/python2.5/test/test_trace.pytrun_test_for_event~s	cCs|iddS(NR(Ri(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt	test_callscCs|iddS(NR(Ri(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt	test_linescCs|iddS(NR(Ri(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_returnscCs|iddS(NR(Ri(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_exceptionscspdfdtiyWn)tj
oddk}|inX|iddS(NcSs xtdD]}|GHq
WdS(Ni(R(R#((s+/usr/local/lib/python2.5/test/test_trace.pyRbs
cs8|djo'|iiidjo
tdnS(NRis
i am crashing(R/RHRIR(R1twhytextra(tgRb(s+/usr/local/lib/python2.5/test/test_trace.pyRps

isexception not propagated(RRRtgctcollectR:(R,Rq((RpRbs+/usr/local/lib/python2.5/test/test_trace.pyttest_trash_stacks	
(
R7R8R0RbRiRjRkRlRmRs(((s+/usr/local/lib/python2.5/test/test_trace.pyRdls								t
JumpTracercBs eZdZdZdZRS(sDefines a trace function that jumps from one place to another,
    with the source and destination lines of the jump being defined by
    the 'jump' property of the function under test.cCs6||_|id|_|id|_t|_dS(Nii(tfunctiontjumptjumpFromtjumpToR\tdone(R,Ru((s+/usr/local/lib/python2.5/test/test_trace.pyR-s	cCs|io|i|iijoj|ii}|i||ijoCy||i|_Wntj
o|i|_nXt	|_qn|i
S(N(Rytf_codeRuRHRIR/RwRxt	TypeErrorR&R0(R,R1R2R3t	firstLine((s+/usr/local/lib/python2.5/test/test_trace.pyR0s!(R7R8t__doc__R-R0(((s+/usr/local/lib/python2.5/test/test_trace.pyRts	cCs+|id|id|iddS(Niii(R.(toutput((s+/usr/local/lib/python2.5/test/test_trace.pytjump_simple_forwardss

cCs|id|iddS(Nii(R.(R~((s+/usr/local/lib/python2.5/test/test_trace.pytjump_simple_backwardss
cCsPx<dD]4}|idxdgD]}|idq$WqW|iddS(Niiiii(ii(R.(R~R#tj((s+/usr/local/lib/python2.5/test/test_trace.pytjump_out_of_block_forwardss

cCsm|idxLdgD]A}|idxdgD]}|idq4W|idqW|iddS(Niiiiii(R.(R~R#R((s+/usr/local/lib/python2.5/test/test_trace.pytjump_out_of_block_backwardss



cCs|id|iddS(Nii(R.(R~((s+/usr/local/lib/python2.5/test/test_trace.pytjump_to_codeless_lines
cCs+|id|id|iddS(Niii(R.(R~((s+/usr/local/lib/python2.5/test/test_trace.pytjump_to_same_lines

c
CsUz|idWd|idz|idWd|idX|idXdS(Niiiii	(R.(R~((s+/usr/local/lib/python2.5/test/test_trace.pytjump_in_nested_finallys
i	cCsSy|id|idWn.tj
o"}|idt|jnXdS(Niitafter(R.RfR>(R~RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_too_far_forwardss

cCsSy|id|idWn.tj
o"}|idt|jnXdS(Niitbefore(R.RfR>(R~RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_too_far_backwardss

cCsHy|idWn0tid}|idt|jnXdS(Niitexcept(R.Rtexc_infoR>(R~RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_to_except_1's
cCsTy|idWn<tj
o0tid}|idt|jnXdS(NiiR(R.RfRRR>(R~RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_to_except_21s
cCsFy|idWn.tj
o"}|idt|jnXdS(NiR(R.RfR>(R~RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_to_except_3;scCsLy|idWn4ttfj
o"}|idt|jnXdS(NiR(R.RfRR>(R~RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_to_except_4DscCsdy/|idxdD]}|idqWWn.tj
o"}|idt|jnXdS(Niiitinto(ii(R.RfR>(R~R#RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_forwards_into_blockMs
cCsdy/xdD]}|idq
W|idWn.tj
o"}|idt|jnXdS(NiiiiR(ii(R.RfR>(R~R#RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_backwards_into_blockXsc	Csay,z|idd}Wd|idXWn.tj
o"}|idt|jnXdS(Niiitfinally(R.RfR>(R~RRC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_into_finally_blockcs

c	Cshy3z|idWd|id|idXWn.tj
o"}|idt|jnXdS(NiiiR(R.RfR>(R~RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_out_of_finally_blockps
cCsFy|idWn.tj
o"}|idt|jnXdS(Nitinteger(R.RfR>(R~RC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_to_non_integers~stSpamcCs^ytii}|i|_Wn/tj
o#}dt|joqZnXtddS(NR0s'Trace-function-less jump failed to fail(RRRR/RfR>R(tprevious_frameRC((s+/usr/local/lib/python2.5/test/test_trace.pytno_jump_without_trace_functionstJumpTestCasecBseZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdZRS(cCsB||jo1|iddt|ddt|ndS(NsOutputs don't match:
s
Expected: s
s
Received: (R:trepr(R,texpectedtreceived((s+/usr/local/lib/python2.5/test/test_trace.pytcompare_jump_outputs
cCsPt|}ti|ig}||tid|i|i|dS(N(RtRRR0RGRR~(R,RJRKR~((s+/usr/local/lib/python2.5/test/test_trace.pyRMs

cCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_01_jump_simple_forwardsscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_02_jump_simple_backwardsscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt"test_03_jump_out_of_block_forwardsscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt#test_04_jump_out_of_block_backwardsscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_05_jump_to_codeless_linescCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_06_jump_to_same_linescCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_07_jump_in_nested_finallyscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt test_08_no_jump_too_far_forwardsscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt!test_09_no_jump_too_far_backwardsscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_10_no_jump_to_except_1scCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_11_no_jump_to_except_2scCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_12_no_jump_to_except_3scCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_13_no_jump_to_except_4scCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt#test_14_no_jump_forwards_into_blockscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt$test_15_no_jump_backwards_into_blockscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt"test_16_no_jump_into_finally_blockscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt$test_17_no_jump_out_of_finally_blockscCs|itdS(N(RMR(R,((s+/usr/local/lib/python2.5/test/test_trace.pyttest_18_no_jump_to_non_integersscCstdS(N(R(R,((s+/usr/local/lib/python2.5/test/test_trace.pyt&test_19_no_jump_without_trace_functions(R7R8RRMRRRRRRRRRRRRRRRRRRR(((s+/usr/local/lib/python2.5/test/test_trace.pyRs*																				cCstitttdS(N(Rtrun_unittestR9RdR(((s+/usr/local/lib/python2.5/test/test_trace.pyt	test_mainst__main__(iscall(isline(isreturn(iscall(isline(isline(isline(isreturn(iscall(isline(isline(isline(isreturn(iscall(isline(isline(isline(isline(isline(isline(isline(isline(isreturn(iscall(isline(isline(isline(isreturn(iscall(isline(iscall(isline(isreturn(isreturn(iscall(isline(isline(iscall(isline(is	exception(isreturn(is	exception(isline(isline(isreturn(isreturn(is	exception(isline(isline(isreturn(iscall(isline(isline(isline(isline(isline(isreturn(iscall(isline(isline(isline(isline(isline(isline(isline(isline(is	exception(isline(isline(isreturn(iscall(isline(isline(isline(isline(isline(isline(isline(is	exception(isline(isline(isreturn(iscall(isline(iscall(isline(isline(isreturn(iscall(is	exception(isline(isreturn(isline(isline(isline(isreturn(((ii(ii(ii(ii(ii(ii(ii	(ii(ii(ii(ii(ii(ii(ii(ii(ii(ii(iR(6ttestRtunittestRR<RR+RRR
R
RRRRRRRRR R$R%R'R)R*tTestCaseR9RdRtRRvR~RRRRRRRR&RRRRRRRRRRRRRR7(((s+/usr/local/lib/python2.5/test/test_trace.pys<module>sP													
						/vF									!																							
		
				6	


Man Man