KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21571/root/usr/lib/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21571/root/usr/lib/python2.4/test/test_zipimport.pyc
m
=5Dc@sHdkZdkZdkZdkZdkZdkZdkZdklZl	Z	l
Z
lZdkl
Z
dklZlZlZdkZdZeiZeeeZeo
dZndZdZdZd	Zeiid
eidZdefd
YZdefdYZ dZ!e"djoe!ndS(N(sZipFilesZipInfos
ZIP_STOREDsZIP_DEFLATED(stest_support(sImportHooksBaseTestCasestest_srcstest_cocCsti|}t|tdjo8|djot|}q`tdt|}nti	t
idt||}|S(Nf0.0ils<i(
tmarshaltdumpstcotdatattypetmtimetinttlongtimpt	get_magictstructtpacktpyc(RRRR((t)/usr/lib/python2.4/test/test_zipimport.pytmake_pycs
&s.pycs.pyot
ziptestmoduletziptestpackagetziptestpackage2t	junk95142tziptUncompressedZipImportTestCasecBstZeZdZdZdZdZdZdZ	dZ
dZd	Zd
Z
dZdZd
ZdZdZRS(NcCstiiti|dS(N(t	zipimportt_zip_directory_cachetcleartImportHooksBaseTestCasetsetUptself(R((R
R.s
cOsttd}
zTxT|iD]F\}	\}}t|	t	i
|}|i
|_|
i||qW|
i|idd}|dj	o\ttd}
|
i}|
ittd}
|
i||
i||
intiidttdi|tt dg}|o3|i#}|i%|t&iit||nWd|
it&i'tXdS(Ntwtstufftrbtwbit.t	__dummy__((tZipFiletTEMP_ZIPtztfilestitemstnameRRtZipInfottimet	localtimetzinfoRtcompressiont
compress_typetwritestrtclosetkwtgettNoneRtopentftreadtwritetsystpathtinsertt
__import__tjointmodulestglobalstlocalstmodtexpected_exttget_filetfiletassertEqualstostremove(RR?R$R;R/RARRR>R&R3R*RR#((R
tdoTest4s4





+
cCsdtijodSndtijotid=nhdttf<}y|id|dWn4tj
o(|i	t
jo|idqn#X|i	tjo|idndS(Ntzlibszlib.pys.pys&expected test to not raise ImportErrors"expected test to raise ImportError(
R6tbuiltin_module_namesR;tNOWttest_srcR$RREtImportErrorR+tZIP_DEFLATEDtfailt
ZIP_STORED(RR$((R
t
testAFakeZlibUscCs0htdttf<}|id|tdS(Ns.py(tTESTMODRHRIR$RRE(RR$((R
ttestPyuscCs0httttf<}|it|tdS(N(ROtpyc_extRHttest_pycR$RRE(RR$((R
ttestPycyscCsChtdttf<ttttf<}|it|tdS(Ns.py(RORHRIRQRRR$RRE(RR$((R
ttestBoth}s,cCs0htdtdf<}|id|tdS(Ns.pyt(RORHR$RRER1(RR$((R
ttestEmptyPyscCsqttd}|dN}t|td}htdttf<ttt|f<}|id|tdS(Niiis.py(tordRRtm0tchrtbadmagic_pycRORHRIRQR$RRE(RR$RXRZ((R
ttestBadMagics

,cCsttd}|dN}t|td}httt|f<}y|i
d|tWntj
onX|iddS(Niiis.pys)expected ImportError; import from bad pyc(
RWRRRXRYRZRORQRHR$RRERJRL(RR$RXRZ((R
t
testBadMagic2s
cCsyttd}|dN}td t|td}htdttf<ttt|f<}|id|tdS(Niiis.py(RWRRtt3RYtbadtime_pycRORHRIRQR$RRE(RR$R]R^((R
ttestBadMTimes

,cCs[tti}h|dtttf<|ttttf<}|i
t|ttdS(Nt__init__(tTESTPACKRCtseptpackdirRQRHRRROR$RRE(RR$Rc((R
ttestPackages
4cCstti}|tti}h|dtttf<|dtttf<|t	tttf<}|it|ttt	dS(NR`(
RaRCRbRct	TESTPACK2tpackdir2RQRHRRROR$RRE(RR$RcRf((R
ttestDeepPackages
KcCsttd}|i|_zd}dig}tdD]}|t
|q;~d}|i|||i
tit}|i||i|Wd|i
titXdS(NRstestdata.datRUii(R!R"R#RR+R&R:t_[1]trangetxRYRR-R.RtzipimportertziRBtget_dataRCRD(RR&RhRjR#RRl((R
ttestGetDatas:

cCs`d}tt|ddt}httt|f<dtdf<}|i	t|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(
tsrcRtcompileRHRRORQR$RRE(RR$RpR((R
ttestImporterAttrs(cCs:htdttf<}|id|tddddS(Ns.pyRs
Some Stuffi(RORHRIR$RRE(RR$((R
ttestImport_WithStuffs(t__name__t
__module__RMR+RRERNRPRSRTRVR[R\R_RdRgRnRrRs(((R
R*s 		!	 							
						tCompressedZipImportTestCasecBstZeZRS(N(RtRuRKR+(((R
RvscCstittdS(N(ttest_supporttrun_unittestRRv(((R
t	test_mains	t__main__(#R6RCRRR
R(RFtzipfileR!R'RMRKttestRwttest.test_importhooksRRIttest_coRRRHRRt	__debug__RQRORaReR7tabspathtextsepR"RRvRyRt(RwRIR!R"RRKR
RReRORRyRQRRR~RMR6RRRaR'RFRvR(RHRCR((R
t?s2							
		
	


Anon7 - 2021