
    e0                         d Z ddlZddlZddlmZ ddlmZ  G d dej        ej        ej	                  Z
edk    r ej                     dS dS )z"Tests for distutils.command.clean.    N)clean)supportc                       e Zd Zd ZdS )cleanTestCasec                    |                                  \  }t          |          }fddD             }|D ]i\  }}t          j        |           t	          |||           |dk    r1dD ]5}|                     t          j                            ||                     6jd|_        |	                                 |
                                 |D ];\  }}|                     t          j                            |          d|z             <d|_        |	                                 |
                                 d S )Nc                 T    g | ]$}|t           j                            |          f%S  )ospathjoin).0dpkg_dirs     ,  /home/conda/feedstock_root/build_artifacts/python-split_1708115622739/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/distutils/tests/test_clean.py
<listcomp>z1cleanTestCase.test_simple_run.<locals>.<listcomp>   s>     0 0 0 BGLL!,,- 0 0 0    )
build_temp	build_lib
bdist_basebuild_scripts
build_baser   )onetwothree   z%s was not removed)create_distr   r
   mkdirsetattr
write_filer   r   allensure_finalizedrunassertFalseexists)selfdistcmddirsnamer   fr   s          @r   test_simple_runzcleanTestCase.test_simple_run   sf   ((**Dkk0 0 0 0/0 0 0  	7 	7JD$HTNNNCt$$$|##, 7 7T1 5 566667 			  	6 	6JD$RW^^D11-46 6 6 6 					r   N)__name__
__module____qualname__r+   r	   r   r   r   r      s#            r   r   __main__)__doc__r
   unittestdistutils.command.cleanr   distutils.testsr   TempdirManagerLoggingSilencerTestCaser   r,   mainr	   r   r   <module>r8      s    ( ( 				  ) ) ) ) ) ) # # # # # #" " " " "G*+%" " "H zHMOOOOO r   