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

hRc@sddkZddkZddkZddkZddkZddkZddkZddkZddkl	Z	l
Z
lZlZddk
lZddklZlZlZddkZddkZddkZddkZddkZddklZlZlZdZeadZdZ eiZ!eee!Z"d	Z#d
Z$dZ%dZ&ei'i(d
ei)dZ*defdYZ+de+fdYZ,dei-fdYZ.dZ/dZ0e1djoe0ndS(iN(tZipFiletZipInfot
ZIP_STOREDtZIP_DEFLATED(ttest_support(tImportHooksBaseTestCasettest_srcttest_co(t
extract_tbt
extract_stacktprint_tbs def do_raise(): raise TypeError
cCsti|}t|tdjo7|djot|}q_tdt|}ntitidt||}|S(Ngils<i(	tmarshaltdumpsttypetinttlongtimpt	get_magictstructtpack(tcotmtimetdatatpyc((s//usr/local/lib/python2.5/test/test_zipimport.pytmake_pycs
&cCs|itidS(Nt.(treplacetostsep(tpath((s//usr/local/lib/python2.5/test/test_zipimport.pytmodule_path_to_dotted_name&ss.pyot
ziptestmoduletziptestpackagetziptestpackage2t	junk95142tziptUncompressedZipImportTestCasecBseZeZdZdZdZdZdZdZ	dZ
dZdZd	Z
d
ZdZdZd
ZdZdZdZdZdZdZdZdZdZdZdZdZRS(cCs(titiiti|dS(N(t	linecachet
clearcachet	zipimportt_zip_directory_cachetclearRtsetUp(tself((s//usr/local/lib/python2.5/test/test_zipimport.pyR*<s

c
Osttd}z~xT|iD]F\}\}}t|ti|}	|i|	_|i|	|qW|i	|i
dd}
|
dj	o\ttd}|i
}|i	ttd}|i|
|i||i	ntiidttdi|ttdg}|i
d}
|
dj	o|
|n|o3|i}|i|tiit||nWd|i	titXdS(	NtwtstufftrbtwbiRt	__dummy__tcall(RtTEMP_ZIPtitemsRttimet	localtimetcompressiont
compress_typetwritestrtclosetgettNonetopentreadtwritetsysRtinsertt
__import__tjointglobalstlocalstget_filetassertEqualsRtremove(R+texpected_exttfilestmodulestkwtztnameRRtzinfoR-tftmodR1tfile((s//usr/local/lib/python2.5/test/test_zipimport.pytdoTestCs:







cCsdtijodSndtijotid=nhttfd<}y|id|dWn4tj
o(|itjo|i	dqn#X|it
jo|i	dndS(Ntzlibszlib.pys.pys&expected test to not raise ImportErrors"expected test to raise ImportError(R?tbuiltin_module_namesRJtNOWRRRtImportErrorR6RtfailR(R+RI((s//usr/local/lib/python2.5/test/test_zipimport.pyt
testAFakeZlibiscCs0httftd<}|id|tdS(Ns.py(RURtTESTMODRR(R+RI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestPyscCs0httftt<}|it|tdS(N(RUttest_pycRYtpyc_extRR(R+RI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestPycscCsChttftd<ttftt<}|it|tdS(Ns.py(RURRYR[R\RR(R+RI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestBothscCs0htdftd<}|id|tdS(Nts.py(RURYRRR;(R+RI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestEmptyPyscCsqttd}|dN}t|td}httftd<t|ftt<}|id|tdS(Niiis.py(tordR[tchrRURRYR\RR(R+tm0tbadmagic_pycRI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestBadMagics
cCsttd}|dN}t|td}ht|ftt<}y|id|tWntj
onX|iddS(Niiis.pys)expected ImportError; import from bad pyc(	RaR[RbRURYR\RRRVRW(R+RcRdRI((s//usr/local/lib/python2.5/test/test_zipimport.pyt
testBadMagic2s
cCsyttd}|dN}td t|td}httftd<t|ftt<}|id|tdS(Niiis.py(RaR[RbRURRYR\RR(R+tt3tbadtime_pycRI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestBadMTimes
cCs[tti}httf|dt<ttf|tt<}|it|ttdS(Nt__init__(tTESTPACKRRRUR[R\RYRR(R+tpackdirRI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestPackages
cCstti}|tti}httf|dt<ttf|dt<ttf|tt<}|it|tttdS(NRj(	RkRRt	TESTPACK2RUR[R\RYRR(R+Rltpackdir2RI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestDeepPackages
c	Cstti}|tti}httf|dt<ttf|dt<ttf|tt<}tt	d}z?xT|i
D]F\}\}}t|ti
|}|i|_|i||qW|itit	}	|i|	itt|	it|i|	i|dt|i|	i|tt|i|	i|tt|t}
tt|
}|i|	itd|i|	i|
dWd|itit	XdS(NRjR,(RkRRRnRUR[R\RYRR2R3RR4R5R6R7R8R9R'tzipimporterRFt
is_packagetTruetload_moduletFalseRARt
get_sourceR;RG(R+RlRoRIRLRMRRRNtzitmod_nameRP((s//usr/local/lib/python2.5/test/test_zipimport.pyttestZipImporterMethodss2





c	Csttd}|i|_zd}dig}tdD]}|t|q;~d}|i|||iti	t}|i
||i||idt
|jWd|ititXdS(NR,stestdata.datR_iiszipimporter object(RR2R6RBtrangeRbR8R9R'RqRFtget_datatassert_treprRRG(R+RLRMt_[1]txRRw((s//usr/local/lib/python2.5/test/test_zipimport.pyttestGetDatas:

cCs`d}tt|ddt}ht|ftt<tdfd<}|it|tdS(Nsif 1:  # indent hack
        def get_file():
            return __file__
        if __loader__.get_data("some.data") != "some data":
            raise AssertionError, "bad data"
s<???>texecs	some datas	some.data(RtcompileRURYR\RR(R+tsrcRRI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestImporterAttrs
cCs:httftd<}|id|tddddS(Ns.pyR-s
Some Stuffi(RURRYRR(R+RI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestImport_WithStuffscCs|iti|tdS(N(tassertEqualtinspectt	getsourceR(R+tmodule((s//usr/local/lib/python2.5/test/test_zipimport.pytassertModuleSourcescCs9httftd<}|id|td|idS(Ns.pyR1(RURRYRRR(R+RI((s//usr/local/lib/python2.5/test/test_zipimport.pyt
testGetSource
scCsgtttddt}httftd<t|ftt<}|it|td|idS(Ns<???>Rs.pyR1(RRRRURYR\RRR(R+RRI((s//usr/local/lib/python2.5/test/test_zipimport.pyttestGetCompiledSourcescCsEhttftd<tdfd<}|id|td|dS(Ns.pys>>> log.append(True)
sxyz.txtR1(RURRYRR(R+tcallbackRI((s//usr/local/lib/python2.5/test/test_zipimport.pyt
runDoctestscCscg}tid}t_z&tidd|dtdtWd|t_X|i|tgdS(Nsxyz.txttpackagetmodule_relativetglobs(tdoctesttmasterR;ttestfileRsRDR(R+Rtlogt
old_master((s//usr/local/lib/python2.5/test/test_zipimport.pyt
doDoctestFiles
cCs|i|idS(N(RR(R+((s//usr/local/lib/python2.5/test/test_zipimport.pyttestDoctestFile%scCsEg}tidd|dtdti|i|tgdS(Nsxyz.txtRRR(RtDocFileTestRsRDtrunR(R+RR((s//usr/local/lib/python2.5/test/test_zipimport.pytdoDoctestSuite(s
cCs|i|idS(N(RR(R+((s//usr/local/lib/python2.5/test/test_zipimport.pyttestDoctestSuite0scCsy|iWntidi}t|dd\}}}}|i|tit|i	dd\}}}}|i|tit
i
}t|d||i|i
itn
XtddS(NiiisThis ought to be impossible(tdo_raiseR?texc_infottb_nextRRt	raise_srctstripR	ttb_frametStringIOR
t
failUnlesstgetvaluetendswithtAssertionError(R+RttbROtlnotntlinets((s//usr/local/lib/python2.5/test/test_zipimport.pytdoTraceback4s" cCs9httftd<}|id|td|idS(Ns.pyR1(RURRYRRR;R(R+RI((s//usr/local/lib/python2.5/test/test_zipimport.pyt
testTracebackFs(t__name__t
__module__RR6R*RRRXRZR]R^R`ReRfRiRmRpRyRRRRRRRRRRRRR(((s//usr/local/lib/python2.5/test/test_zipimport.pyR$8s6		&	 							
																	tCompressedZipImportTestCasecBseZeZRS((RRRR6(((s//usr/local/lib/python2.5/test/test_zipimport.pyRKstBadFileZipImportTestCasecBsYeZdZdZdZdZdZdZdZdZ	dZ
RS(	cCs|ititi|dS(N(tassertRaisesR'tZipImportErrorRq(R+tfilename((s//usr/local/lib/python2.5/test/test_zipimport.pytassertZipFailurePscCs|iddS(NtAdfjdkFJKDFJjdklfjs(R(R+((s//usr/local/lib/python2.5/test/test_zipimport.pyt
testNoFileTscCs|iddS(NR_(R(R+((s//usr/local/lib/python2.5/test/test_zipimport.pyttestEmptyFilenameWscCs6|ittid|ittitdddS(Ntkwd(Rt	TypeErrorR'RqR;RY(R+((s//usr/local/lib/python2.5/test/test_zipimport.pyttestBadArgsZscCs|idddS(NtAi(R(R+((s//usr/local/lib/python2.5/test/test_zipimport.pyttestFilenameTooLong^scCs1titttdi|itdS(Nsw+(RtunlinkRYR<R9R(R+((s//usr/local/lib/python2.5/test/test_zipimport.pyt
testEmptyFileas
cCshtittittid}zti||itWdtitdtitXdS(Nii(	RRRYRR<tO_CREATR9Rtchmod(R+tfd((s//usr/local/lib/python2.5/test/test_zipimport.pyttestFileUnreadablefs

cCsHtitttd}|idd|i|itdS(Nsw+tai(RRRYR<R>R9R(R+tfp((s//usr/local/lib/python2.5/test/test_zipimport.pyttestNotZipFilers


cCstitttd}|itidd|id|iti	t}z|i
t|id|i
t|id|i
t|id|i
t|id|i
t|id|i
t|idti}|i|idd|i
||id|i
||id|i
t|id|i
||id|i
||idWdtiiXdS(Nsw+s=IiPKRitabctaaaaaaaaaaaaaaaaaa(RRRYR<R>RRR9R'RqRRtfind_moduleR;RtRrtget_codeR{RvRRtIOErrorR(R)(R+RRLterror((s//usr/local/lib/python2.5/test/test_zipimport.pyt_testBogusZipFilezs*


	(RRRRRRRRRRR(((s//usr/local/lib/python2.5/test/test_zipimport.pyROs								cCsdtoStiittdottdnttdottdqZntadS(NRX(	t
test_importedR'R(R)thasattrR$tdelattrRRs(((s//usr/local/lib/python2.5/test/test_zipimport.pytcleanups
cCs3tztitttWdtitXdS(N(RRtrun_unittestR$RRRRY(((s//usr/local/lib/python2.5/test/test_zipimport.pyt	test_mainst__main__(2R?RRRRR4tunittestRStzipfileRRRRttestRttest.test_importhooksRRRR'R%RRRt	tracebackRR	R
RRuRRRRUR[R\RYRkRnRtabspathtextsepR2R$RtTestCaseRRRR(((s//usr/local/lib/python2.5/test/test_zipimport.pys<module>sF"		G		


Man Man