python (3.11.7)

(root)/
lib/
python3.11/
test/
__pycache__/
test_unicode_file.cpython-311.pyc

e@ddlZddlZddlZddlZddlZddlZddlZddlmZm	Z	m
Z
mZmZej
js:	e
jejn#eef$rejdwxYwdZGddejZedkrejdSdS)N)rmtree
change_cwdTESTFN_UNICODETESTFN_UNENCODABLEcreate_empty_filez1No Unicode filesystem semantics on this platform.cptj|rtj|dSdSN)ospathexistsunlink)filenames J/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_unicode_file.pyremove_if_existsrs8	w~~h
	(c2eZdZdZdZdZdZdZdZdS)TestUnicodeFilesc
|tj||tj||tj|tj|tjtj||tjtj||tjtj|tjtj|dtj	|dtj	|tj
tj
f||||tj|tjtjtj
|dktjtj|\}}tj|}t!jd|}d|D}|||dS)NirNFDc8g|]}tjd|S)r)unicodedata	normalize).0fs  r
<listcomp>z/TestUnicodeFiles._do_single.<locals>.<listcomp>4s%HHH[*5!44HHHr)
assertTruer
rrisfileaccessR_OKabspathchmodutimetime_do_copyishglobescapesplitlistdirrrassertIn)selfrrbase	file_lists     r
_do_singlezTestUnicodeFiles._do_singlesx00111x00111	(BG44555rwx'@'@AABBBrwx'@'@AABBB	"'//(";";RWEEFFF
5!!!
4   
DIKK56668,,,GOOH%%rwtyXAVAV7W7WXY7Z'['[[	]	]	]W]]27??8#<#<==
dJt$$	$UD11HHiHHH	

dI&&&&&rc|tj|tj||dz|tj||tj|dztj|dz||tj|dz|tj|t
j||dztj|dzt
j	||dz|tj
||tj
|dzt
j	|dz||tj
|dz|tj
|t
j||dz|tj|dztj|dz|tj
|dzdS)Nz.new)rr
rrrenameassertFalseshutilcopyr
movercopy2)r*	filename1	filename2s   rr$zTestUnicodeFiles._do_copyish9sFy11222
	)Y/000	22333y6'9::;;;
	)f$i000	F(:;;<<<y11222Iy61222
	)f$%%%Iy61222	22333y6'9::;;;I&	222	F(:;;<<<y11222	Y	F 2333y6'9::;;;
	)f$%%%	F(:;;<<<<<rctj|rt|tj|	t|5tj}|}tjd|}tjd|}|	tj
||dddn#1swxYwYtj|dS#tj|wxYw)Nr)r
risdirrmkdirrgetcwdrrassertEqualbasenamermdir)r*	make_name
chdir_name
cwd_resultname_results     r
_do_directoryzTestUnicodeFiles._do_directoryVs7
7==##	9

	 J''
K
KY[[
'(25*EE
)3E;GG  !1!1*!=!=kJJJ
K
K
K
K
K
K
K
K
K
K
K
K
K
K
K
HYBHYs1C3A3CC3CC3CC33D	c6t|t|	||tj|n#tj|wxYw|tj|tj|tj	tj
z}tj|	||tj|dS#tj|wxYwr	)rrr-r
r
rrropenO_CREATO_WRONLYclose)r*rrs   r_test_singlezTestUnicodeFiles._test_singlehs"""(###	 OOH%%%IhBIhBGNN8444555GHbj2;677
	 OOH%%%IhBIhsA

A DDc|tt|tdSdSr	)rHrr)r*s rtest_single_filesz"TestUnicodeFiles.test_single_fileszs?.))))011111*)rcd}|t|zt|zt(|t|zt|zdSdS)Nz.dir)rBrr)r*exts  rtest_directoriesz!TestUnicodeFiles.test_directoriessi>#-~c/ABBB)1#51#5
7
7
7
7
7*)rN)	__name__
__module____qualname__r-r$rBrHrJrMrrrrsn'''4===:   $   $222
	7	7	7	7	7rr__main__)r
r%r#r1sysrunittesttest.support.os_helperrrrrrrsupports_unicode_filenamesencodegetfilesystemencodingUnicodeError	TypeErrorSkipTestrTestCaserrNmainrQrr<module>r^sx



++++++++++++++
w)UU7c799::::)$UUU h STTTU
o7o7o7o7o7x(o7o7o7dzHMOOOOOsAA.