o
    LK&h                     @   s:   d Z ddlZddlmZ ddlmZ G dd dejZdS )z"Tests for distutils.command.clean.    N)clean)supportc                   @   s   e Zd Zdd ZdS )	TestCleanc                    s   |   \ }t|} fdddD }|D ]#\}}t| t||| |dkr)qdD ]}| tj|| q+qd|_|	  |
  |D ]\}}tj|rWJ | dqFd|_|	  |
  d S )Nc                    s   g | ]}|t j |fqS  )ospathjoin).0dpkg_dirr   Y/var/www/html/venv/lib/python3.10/site-packages/setuptools/_distutils/tests/test_clean.py
<listcomp>   s    z-TestClean.test_simple_run.<locals>.<listcomp>)
build_temp	build_lib
bdist_basebuild_scripts
build_baser   )onetwothree   z was not removed)create_distr   r   mkdirsetattr
write_filer   r   allensure_finalizedrunexists)selfdistcmddirsnamer   f_namer   r   r   test_simple_run	   s*   

zTestClean.test_simple_runN)__name__
__module____qualname__r'   r   r   r   r   r      s    r   )__doc__r   distutils.command.cleanr   distutils.testsr   TempdirManagerr   r   r   r   r   <module>   s
    