+
    êh”  ã                   óâ   € R t ^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIHtH	t	 ^ RI
HtHtHtHtHt ^ RIHt ^ RIt^ RIt^ RIt]P,                  ! RR7      R 4       t ! R R	]P0                  4      tR# )
zTests for distutils.dir_util.N)Údir_utilÚerrors)Ú	copy_treeÚcreate_treeÚensure_relativeÚmkpathÚremove_tree)ÚsupportT)Úautousec                 ó0  € V P                   pVP                  4       p\        P                  P	                  VR 4      Vn        \        P                  P	                  VP
                  R4      Vn        \        P                  P	                  VR4      Vn        R# )ÚdeepÚhereÚdeep2N)ÚinstanceÚmkdtempÚosÚpathÚjoinÚroot_targetÚtargetÚtarget2)ÚrequestÚmonkeypatchÚdistutils_managed_tempdirÚselfÚtmp_dirs   &&&  ÚK/usr/lib/python3/dist-packages/setuptools/_distutils/tests/test_dir_util.pyÚstuffr      sa   € à×Ñ€DØ�l‰l‹n€GÜ—w‘w—|‘| G¨VÓ4€DÔÜ—'‘'—,‘,˜t×/Ñ/°Ó8€D„KÜ—7‘7—<‘< ¨Ó1€D†Ló    c                   óŒ   a € ] tR t^ t o R t]P                  P                  R4      R 4       tR t	R t
R tR tR tR	 tR
tV tR# )ÚTestDirUtilc                ó”  € \        V P                  R R7       VP                  '       d   Q h\        V P                  R R7       \        V P                  RR7       RV P                   2.pVP
                  V8X  g   Q hVP                  4        \        V P                  RR7       RV P                   R2.pVP
                  V8X  g   Q hR# )F©ÚverboseTú	creating z
removing 'z' (and everything under it)N)r   r   Úrecordsr   r   ÚmessagesÚclear©r   ÚcaplogÚwanteds   && r   Ú!test_mkpath_remove_tree_verbosityÚ-TestDirUtil.test_mkpath_remove_tree_verbosity!   s¦   € Üˆt�{‰{ EÕ*Ø—>—>�>Ð!Ð!Ü�D×$Ñ$¨eÕ4äˆt�{‰{ DÕ)Ø˜dŸk™k˜]Ð+Ð,ˆØ�‰ &Ô(Ð(Ð(Ø�‰Œä�D×$Ñ$¨dÕ3Ø˜t×/Ñ/Ð0Ð0KÐLÐMˆØ�‰ &Ô(Ð(Ò(r   zplatform.system() == 'Windows'c                óê  € \         P                  ! ^4      p\         P                  ! V4       \        V P                  R4       \        P
                  ! \         P                  ! V P                  4      P                  4      RV( ,          8X  g   Q h\        V P                  R4       \        P
                  ! \         P                  ! V P                  4      P                  4      RV( ,          8X  g   Q hR# )é   iÀ  im  N)r   Úumaskr   r   ÚstatÚS_IMODEÚst_moder   )r   r/   s   & r   Útest_mkpath_with_custom_modeÚ(TestDirUtil.test_mkpath_with_custom_mode/   s˜   € ô —’˜“ˆÜ
�Š�ŒÜˆt�{‰{˜EÔ"Ü�|Š|œBŸGšG D§K¡KÓ0×8Ñ8Ó9¸UÀeÀV½^ÔKÐKÐKÜˆt�|‰|˜UÔ#Ü�|Š|œBŸGšG D§L¡LÓ1×9Ñ9Ó:¸eÀuÀf½nÔLÐLÒLr   c                ó6  € \        V P                  . RORR7       VP                  . 8X  g   Q h\        V P                  RR7       RV P                   2.p\        V P                  . RORR7       VP                  V8X  g   Q h\        V P                  RR7       R# )ÚoneFr"   r$   TN)r6   ÚtwoÚthree)r   r   r&   r   r(   s   && r   Útest_create_tree_verbosityÚ&TestDirUtil.test_create_tree_verbosity9   s‚   € Ü�D×$Ñ$Ò&=ÀuÕMØ�‰ "Ô$Ð$Ð$Ü�D×$Ñ$¨eÕ4à˜d×.Ñ.Ð/Ð0Ð1ˆÜ�D×$Ñ$Ò&=ÀtÕLØ�‰ &Ô(Ð(Ð(ä�D×$Ñ$¨e×4r   c                óŒ  € \        V P                  R R7       \        V P                  V P                  R R7       VP                  . 8X  g   Q h\        V P                  R R7       \        V P                  R R7       \        P                  ! V P                  4      R,          p\        P                  P                  RR/V P                  4       RV RV P                   2.p\        V P                  V P                  RR7       VP                  V8X  g   Q h\        V P                  R R7       \        V P                  R R7       R# )Fr"   úok.txtúsome contentzcopying z -> TN)r   r   r   r   r&   r   r   r   ÚPathÚjaracoÚbuild)r   r)   Úa_filer*   s   &&  r   Útest_copy_tree_verbosityÚ$TestDirUtil.test_copy_tree_verbosityD   så   € Üˆt�{‰{ EÕ*ä�$—+‘+˜tŸ|™|°UÕ;Ø�‰ "Ô$Ð$Ð$ä�D×$Ñ$¨eÕ4äˆt�{‰{ EÕ*Ü—’˜4Ÿ;™;Ó'¨(Õ2ˆÜ�‰×Ñ˜8 ^Ð4°d·k±kÔBà˜V˜H D¨¯©¨Ð7Ð8ˆÜ�$—+‘+˜tŸ|™|°TÕ:Ø�‰ &Ô(Ð(Ð(ä�D×$Ñ$¨eÕ4Ü�D—L‘L¨%×0r   c                ó|  € \        V P                  R R7       \        P                  P	                  RRRR/V P                  4       \        V P                  V P                  4       \        P                  ! V P                  4      R.8X  g   Q h\        V P                  R R7       \        V P                  R R7       R# )Fr"   r<   r=   z
.nfs123abcÚ N)r   r   r?   r   r@   r   r   r   Úlistdirr   r   ©r   s   &r   Ú#test_copy_tree_skips_nfs_temp_filesÚ/TestDirUtil.test_copy_tree_skips_nfs_temp_filesW   s~   € Üˆt�{‰{ EÕ*ä�‰×Ñ˜8 ^°\À2ÐFÈÏÉÔTä�$—+‘+˜tŸ|™|Ô,Ü�zŠz˜$Ÿ,™,Ó'¨H¨:Ô5Ð5Ð5ä�D×$Ñ$¨eÕ4Ü�D—L‘L¨%×0r   c                óÄ   € \         P                  R 8X  d'   \        R4      R8X  g   Q h\        R4      R8X  g   Q hR# \        R4      R8X  g   Q h\        R4      R8X  g   Q hR# )Ú/z	/home/foozhome/fooz	some/pathzc:\home\fooz
c:home\foozhome\fooN)r   Úsepr   rG   s   &r   Útest_ensure_relativeÚ TestDirUtil.test_ensure_relativeb   sY   € Ü�6‰6�SŒ=Ü" ;Ó/°:Ô=Ð=Ð=Ü" ;Ó/°;Ô>Ð>Ò>ä" ?Ó3°}ÔDÐDÐDÜ" ;Ó/°;Ô>Ð>Ò>r   c           	     ót  € \         P                  ! R\        4       R7      ;_uu_ 4        \        P                  ! \
        P                  4      ;_uu_ 4        V P                  R,          p\        P                  ! VR4       RRR4       RRR4       R#   + '       g   i     L; i  + '       g   i     R# ; i)z;
An exception in listdir should raise a DistutilsFileError
z
os.listdir)Úside_effectNéÿÿÿÿ)
ÚmockÚpatchÚOSErrorÚpytestÚraisesr   ÚDistutilsFileErrorÚtempdirsr   r   )r   Úsrcs   & r   Ú#test_copy_tree_exception_in_listdirÚ/TestDirUtil.test_copy_tree_exception_in_listdirj   sj   € ô
 �JŠJ�|´³×;Ö;Ü�MŠMœ&×3Ñ3×4Õ4à—-‘- Õ#ˆCÜ×Ò˜s DÔ)÷ 5÷ <Ñ;ß4×4ú÷ <×;Ð;ús#   ©-B&Á+B	ÂB&ÂB#ÂB&Â&B7	c                ór  €  ! R R\         P                  4      pVR,          p\        P                  ! \        P
                  4      ;_uu_ 4        \        V! V4      4       RRR4       VP                  4       '       d   Q h\        V4       VP                  4       '       g   Q hR#   + '       g   i     LM; i)zB
Caching should not remember failed attempts.

pypa/distutils#304
c                   óŠ   a € ] tR t^|t o R t]P                  R8  d"   ]P                  ! 4       P                  t	Rt
V tR# Rt
V tR# )Ú<TestDirUtil.test_mkpath_exception_uncached.<locals>.FailPathc                ó   € \        R 4      h)zFailed to create directory)rT   )r   ÚargsÚkwargss   &*,r   ÚmkdirÚBTestDirUtil.test_mkpath_exception_uncached.<locals>.FailPath.mkdir}   s   € ÜÐ:Ó;Ð;r   © N)é   é   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__rb   ÚsysÚversion_infoÚpathlibr>   Ú_flavourÚ__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r   ÚFailPathr^   |   s0   ø‡ € ò<ð ×Ñ 'Ô)Ø"Ÿ<š<›>×2Ñ2–õ *r   rs   ÚfoodirN)rm   r>   rU   rV   r   rW   r   Úexists)r   r   Útmp_pathrs   r   s   &&&  r   Útest_mkpath_exception_uncachedÚ*TestDirUtil.test_mkpath_exception_uncachedu   sx   € ô	3”w—|‘|ô 	3ð ˜HÕ$ˆä�]Š]œ6×4Ñ4×5Õ5Ü‘8˜FÓ#Ô$÷ 6ð —=‘=—?’?Ð"Ð"äˆvŒØ�}‰}�ŠÐŠ÷ 6×5ús   ÁB&Â&B6	rd   N)rg   rh   ri   rj   r+   rU   ÚmarkÚskipifr3   r9   rB   rH   rM   rZ   rw   ro   rp   rq   s   @r   r    r        sS   ø‡ € ò)ð ‡[�[×ÑÐ8Ó9ñMó :ðMò	5ò1ò&	1ò?ò	*÷ð r   r    )Ú__doc__r   rm   r0   rk   Úunittest.mockrR   Ú	distutilsr   r   Údistutils.dir_utilr   r   r   r   r   Údistutils.testsr	   Újaraco.pathr?   r   rU   Úfixturer   ÚTempdirManagerr    rd   r   r   Ú<module>rƒ      sc   ðÙ #ã 	Û Û Û 
Ý ß &÷õ õ $ã Û Û ð ‡‚˜Ôñ2ó ð2ôk�'×(Ñ(ö kr   