+
    Bi                     x   ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHtH	t	H
t
HtHt ] P                  P                  '       g#    ]
P                  ! ]P                   ! 4       4       R t ! R R]P*                  4      t]R8X  d   ]P0                  ! 4        R# R#   ]]3 d    ]P&                  ! R4      hi ; i)    N)rmtree
change_cwdTESTFN_UNICODETESTFN_UNENCODABLEcreate_empty_filez1No Unicode filesystem semantics on this platform.c                     \         P                  P                  V 4      '       d   \         P                  ! V 4       R # R # N)ospathexistsunlink)filenames   &-/usr/lib/python3.14/test/test_unicode_file.pyremove_if_existsr      s&    	ww~~h
		(      c                   D   a  ] tR t^t o R tR tR tR tR tR t	Rt
V tR# )	TestUnicodeFilesc           
     8   V P                  \        P                  P                  V4      4       V P                  \        P                  P	                  V4      4       V P                  \        P
                  ! V\        P                  4      4       V P                  \        P                  P                  \        P                  P                  V4      4      4       V P                  \        P                  P	                  \        P                  P                  V4      4      4       V P                  \        P
                  ! \        P                  P                  V4      \        P                  4      4       \        P                  ! VR 4       \        P                  ! VR4       \        P                  ! V\        P                  ! 4       \        P                  ! 4       34       V P                  W4       V P                  \        P                  P                  V4      \        P                  P                  \        P                  ! \        P                  ! V4      4      ^ ,          4      8H  4       \        P                  P                  \        P                  P                  V4      4      w  r#\        P                  ! V4      p\         P"                  ! RV4      pV Uu. uF  p\         P"                  ! RV4      NK  	  ppV P%                  W44       R# u upi )i  NNFD)
assertTruer
   r   r   isfileaccessR_OKabspathchmodutimetime_do_copyishglobescapesplitlistdirunicodedata	normalizeassertIn)selfr   r   base	file_listfs   &&    r   
_do_singleTestUnicodeFiles._do_single   s   x01x01		(BGG45rwwx'@ABrwwx'@AB		"''//(";RWWEF
5!
4 
DIIK56,GGOOH%rwwtyyXAV7WXY7Z'[[	] WW]]277??8#<=
JJt$	 $$UD1>GHi[**5!4i	Hd& Is   " Lc                "   V P                  \        P                  P                  V4      4       \        P                  ! WR ,           4       V P                  \        P                  P                  V4      4       V P                  \        P                  P                  VR ,           4      4       \        P                  ! VR ,           V4       V P                  \        P                  P                  VR ,           4      4       V P                  \        P                  P                  V4      4       \        P                  ! WR ,           4       \        P                  ! VR ,           4       \        P                  ! WR ,           4       V P                  \        P                  P                  V4      4       V P                  \        P                  P                  VR ,           4      4       \        P                  ! VR ,           V4       V P                  \        P                  P                  VR ,           4      4       V P                  \        P                  P                  V4      4       \        P                  ! WR ,           4       V P                  \        P                  P                  VR ,           4      4       \        P                  ! VR ,           4       V P                  \        P                  P                  VR ,           4      4       R# )z.newN)r   r
   r   r   renameassertFalseshutilcopyr   mover   copy2)r&   	filename1	filename2s   &&&r   r   TestUnicodeFiles._do_copyish9   s   y12
		)/0	23y6'9:;
		)f$i0	F(:;<y12I612
		)f$%I612	23y6'9:;I&	2	F(:;<y12 	YF 23y6'9:;
		)f$%	F(:;<r   c                <   \         P                  P                  V4      '       d   \        V4       \         P                  ! V4        \        V4      ;_uu_ 4        \         P                  ! 4       pTp\        P                  ! R V4      p\        P                  ! R V4      pV P                  \         P                  P                  V4      V4       RRR4       \         P                  ! V4       R#   + '       g   i     L(; i  \         P                  ! T4       i ; i)r   N)r
   r   isdirr   mkdirr   getcwdr#   r$   assertEqualbasenamermdir)r&   	make_name
chdir_name
cwd_resultname_results   &&&  r   _do_directoryTestUnicodeFiles._do_directoryV   s    77==##9

	 J''YY[
'(225*E
)33E;G  !1!1*!=kJ ( HHY (' HHYs%   D A5C0D 0D 	;D Dc                D   \        V4       \        V4        V P                  V4       \        P                  ! V4       V P                  \        P                  P                  V4      '       * 4       \        P                  ! V\        P                  \        P                  ,          4      p\        P                  ! V4        V P                  V4       \        P                  ! V4       R #   \        P                  ! T4       i ; i  \        P                  ! T4       i ; ir	   )r   r   r*   r
   r   r   r   r   openO_CREATO_WRONLYclose)r&   r   r)   s   && r   _test_singleTestUnicodeFiles._test_singleh   s    "(#	 OOH%IIhBGGNN8445GGHbjj2;;67
	 OOH%IIh IIh IIhs   C, D ,DDc                n    V P                  \        4       \        e   V P                  \        4       R # R # r	   )rH   r   r   )r&   s   &r   test_single_files"TestUnicodeFiles.test_single_filesz   s*    .))01 *r   c                    R pV P                  \        V,           \        V,           4       \        e+   V P                  \        V,           \        V,           4       R# R# )z.dirN)rA   r   r   )r&   exts   & r   test_directories!TestUnicodeFiles.test_directories   sL     >#-~c/AB)1#51#57 *r    N)__name__
__module____qualname____firstlineno__r*   r   rA   rH   rK   rO   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s(     '4=: $ $2
	7 	7r   r   __main__)r
   r   r   r/   sysr#   unittesttest.support.os_helperr   r   r   r   r   r   supports_unicode_filenamesencodegetfilesystemencodingUnicodeError	TypeErrorSkipTestr   TestCaser   rR   mainrQ   r   r   <module>re      s      
  + + 
ww)))Uc779:o7x(( o7d zMMO w )$ U  STTUs   !B B9