%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/test/test_pep277.pyc

ó
Nêáac
@s«ddlZddlZddlZddlmZddlmZdddddd	d
ddd
g
Zejdkr¢ej	dddddddddg	ƒnej
jsejƒpÃej
ƒZy"xeD]ZejeƒqÐWWqek
r
ejdƒ‚qXnd„Zdejfd„ƒYZdefd„ƒYZdefd„ƒYZd efd!„ƒYZd"efd#„ƒYZd$„Zed%kr§eƒndS(&iÿÿÿÿN(t	normalize(ttest_supportt1_abcu2_asciiu
3_Grüß-Gottu4_Γειά-σαςu5_ЗдравÑтвуйтеu6_ã«ã½ã‚“u7_השקצץסu8_曨曩曫u9_曨שんдΓßu	10_΅´tdarwinu	11_΅ϓϔu12_¨ÌÏ’Ìϔu13_ ̈ÌΎΫu14_ẛá¿á¿á¿Žá¿á¿á¿žá¿Ÿá¿­u15_΅´𣏕u
16_   Au
17_â€â€â€Au
18_   Au19_   As>only NT+ and systems with Unicode-friendly filesystem encodingcCsbtjj|ƒr^x9tjt|ƒƒD]"}tjtjj||ƒƒq(Wtj|ƒndS(N(tostpathtexiststlistdirtunicodetunlinktjointrmdir(tdirnametfname((s,/usr/local/lib/python2.7/test/test_pep277.pytdeltree9s tUnicodeFileTestscBs­eZeeƒZdZd„Zd„Zd„Z	e
d„Zd„Zd„Z
ejejdkdƒd„ƒZejejdkdƒd	„ƒZd
„Zd„ZRS(
cCs¿ytjtjƒWntk
r'nXtƒ}x~|jD]s}tjjtj|j	|ƒƒ}t
|dƒ!}|j|djdƒƒWdQXtj
|ƒ|j|ƒq;W||_dS(Ntws
sutf-8(RtmkdirRtTESTFNtOSErrortsettfilesRR
tnormtopentwritetencodetstattadd(tselfRtnametf((s,/usr/local/lib/python2.7/test/test_pep277.pytsetUpGs
	! 
cCsttjƒdS(N(RRR(R((s,/usr/local/lib/python2.7/test/test_pep277.pyttearDownUscCs,|jr(t|tƒr(t|j|ƒS|S(N(tnormal_formt
isinstanceRR(Rts((s,/usr/local/lib/python2.7/test/test_pep277.pyRXscCs…|j|ƒ}||ƒWdQX|jj}t|tƒrU|jtjƒƒ}n|r|j||d|j	||fƒndS(Ns>Function '%s(%r) failed with bad filename in the exception: %r(
tassertRaisest	exceptiontfilenameR"tstrRtsystgetfilesystemencodingtassertEqualt__name__(RtfnR&texpected_exceptiontcheck_fn_in_exceptiontctexc_filename((s,/usr/local/lib/python2.7/test/test_pep277.pyt_apply_failure]scCs¦xŸ|jD]”}d|}|jt|tƒ|jtj|tƒ|jtj|tƒ|jtj|tƒ|jtj	|tƒ|jtj
|ttƒq
WdS(Ntnot_(RR1RtIOErrorRRRtchdirRtremoveRtFalse(RR((s,/usr/local/lib/python2.7/test/test_pep277.pyt
test_failuresjs
cCsXxQ|jD]F}t|dƒ}|j|djdƒƒ|jƒtj|ƒq
WdS(NRs
sutf-8(RRRRtcloseRR(RRR((s,/usr/local/lib/python2.7/test/test_pep277.pyt	test_openvs

Rsirrelevant test on Mac OS Xcstd„|jDƒƒ}tƒ}x@tddddgƒD]&‰|t‡fd†|DƒƒO}q;W||8}x’|D]Š}|jt|tƒ|jtj|tƒ|jtj|tƒ|jtj	|tƒ|jtj
|tƒ|jtj|ttƒqvWdS(Ncss$|]}t|tƒr|VqdS(N(R"R(t.0R((s,/usr/local/lib/python2.7/test/test_pep277.pys	<genexpr>ƒstNFCtNFDtNFKCtNFKDc3s|]}tˆ|ƒVqdS(N(R(R:tfile(tnf(s,/usr/local/lib/python2.7/test/test_pep277.pys	<genexpr>†s(
RRR1RR3RRRR4RR5RR6(RRtothersR((R@s,/usr/local/lib/python2.7/test/test_pep277.pyttest_normalizes	$

cCsˆt|jƒ}tjtjƒ}tjttjtjƒƒƒ}td„|Dƒƒ}|j	||ƒ|j	t
|ƒt
|ƒƒdS(Ncss-|]#}tjjttjƒ|ƒVqdS(N(RRR
RRR(R:R((s,/usr/local/lib/python2.7/test/test_pep277.pys	<genexpr>šs(RRRRRRRR(R)R*tlen(Rtsf0tf1tf2tsf2((s,/usr/local/lib/python2.7/test/test_pep277.pyttest_listdir”scCs8x1|jD]&}tj|dƒtjd|ƒq
WdS(Nttmp(RRtrename(RR((s,/usr/local/lib/python2.7/test/test_pep277.pyttest_renamežscCsŠtjjtjdƒ}d}tj|ƒWt|dƒ!}|j|djdƒƒWdQXtj	|tj
ƒtj|ƒWdQXdS(NuGrüß-曨曩曫uß-曨曩曫Rs
sutf-8(RRR
RRttemp_cwdRRRtaccesstR_OKR5(RRR&R((s,/usr/local/lib/python2.7/test/test_pep277.pyttest_directory£s	 N(R+t
__module__Rt	filenamesRtNoneR!RR RtTrueR1R7R9tunittesttskipIfR(tplatformRBRHRKRO(((s,/usr/local/lib/python2.7/test/test_pep277.pyRCs					$$
	tUnicodeNFCFileTestscBseZdZRS(R;(R+RPR!(((s,/usr/local/lib/python2.7/test/test_pep277.pyRW®stUnicodeNFDFileTestscBseZdZRS(R<(R+RPR!(((s,/usr/local/lib/python2.7/test/test_pep277.pyRX²stUnicodeNFKCFileTestscBseZdZRS(R=(R+RPR!(((s,/usr/local/lib/python2.7/test/test_pep277.pyRY¶stUnicodeNFKDFileTestscBseZdZRS(R>(R+RPR!(((s,/usr/local/lib/python2.7/test/test_pep277.pyRZºscCs2ztjtttttƒWdttjƒXdS(N(	Rtrun_unittestRRWRXRYRZRR(((s,/usr/local/lib/python2.7/test/test_pep277.pyt	test_main¾st__main__(R(RRTtunicodedataRttestRRQRVtextendRtsupports_unicode_filenamesR)tgetdefaultencodingt
fsencodingRRtUnicodeEncodeErrortSkipTestRtTestCaseRRWRXRYRZR\R+(((s,/usr/local/lib/python2.7/test/test_pep277.pyt<module>sN$		


	
k	


Zerion Mini Shell 1.0