MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/local/ssl/lib/python2.4/test/test_mimetypes.pyc
mň
‚=5Dc@s…dkZdkZdkZdklZdklZge_ee_	dei
fd„ƒYZd„Ze
djoeƒndS(N(sSet(stest_supporttMimeTypesTestCasecBs>tZd„Zd„Zd„Zd„Zd„Zd„ZRS(NcCstiƒ|_dS(N(t	mimetypest	MimeTypestselftdb(R((t)/usr/lib/python2.4/test/test_mimetypes.pytsetUpscCsq|i}||iidƒd	ƒ||iidƒd
ƒ||iidƒdƒ||iidƒdƒdS(
Nsfoo.htmls	text/htmlsfoo.tgzsapplication/x-tartgzips
foo.tar.gzs	foo.tar.Ztcompress(s	text/htmlN(sapplication/x-tarR(sapplication/x-tarR(sapplication/x-tarR(RtassertEqualteqRt
guess_typetNone(RR
((Rttest_default_datas
	cCsR|i}|ii}||dƒdƒ||dƒdƒ||dƒdƒdS(	Nsdata:,thisIsTextPlains
text/plainsdata:;base64,thisIsTextPlainsdata:text/x-foo,thisIsTextXFoos
text/x-foo(s
text/plainN(s
text/plainN(s
text/x-fooN(RR	R
RRR(RRR
((Rttest_data_urlss
	cCs^|i}tidƒ}|ii|ƒ||iidƒdƒ||ii	dƒdƒdS(Ns x-application/x-unittest pyunit
s
foo.pyunitsx-application/x-unittests.pyunit(sx-application/x-unittestN(
RR	R
tStringIOtsioRtreadfpRRtguess_extension(RRR
((Rttest_file_parsings	cCs‰|i}||iiddtƒdƒ||iiddtƒdƒ||iiddtƒdƒ||iiddtƒdƒdS(Nsfoo.xultstricts	image/jpgstext/xuls.jpg(NN(stext/xulN(	RR	R
RRtTrueRRtFalse(RR
((Rttest_non_standard_types's
	c	Csł|i}|i}t|iiddtƒƒ}||tddddddgƒjƒ|iid	dt
ƒ}|iƒ||d
gƒ|iid	dtƒ}||gƒdS(Ns
text/plainRs.bats.cs.hs.kshs.pls.txts	image/jpgs.jpg(RR	R
t
failUnlesstunlesstSetRtguess_all_extensionsRtallRtsort(RRRR
((Rttest_guess_all_types0s		(
(t__name__t
__module__RR
RRRR(((RR
s						cCstitƒdS(N(ttest_supporttrun_unittestR(((Rt	test_mainAst__main__(RRtunittesttsetsRttestR!t
knownfilesRtinitedtTestCaseRR#R(R!RRRR%R#R((Rt?s			

		4