Your IP : 216.73.216.85


Current Path : /opt/alt/python35/lib64/python3.5/distutils/tests/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/distutils/tests/__pycache__/test_clean.cpython-35.opt-1.pyc



��Yf��@s�dZddlZddlZddlZddlZddlmZddlmZddl	m
Z
Gdd�dejejej
�Zdd	�Zed
kr�e
e��dS)z"Tests for distutils.command.clean.�N)�clean)�support)�run_unittestc@seZdZdd�ZdS)�
cleanTestCasecs|j�\�}t|�}�fdd�d
D�}xm|D]e\}}tj|�t|||�|dkrvq>x*dD]"}|jtjj||��q}Wq>Wd|_|j	�|j
�x4|D],\}}|jtjj|�d|�q�Wd|_|j	�|j
�dS)Ncs+g|]!}|tjj�|�f�qS�)�os�path�join)�.0�d)�pkg_dirr�?/opt/alt/python35/lib64/python3.5/distutils/tests/test_clean.py�
<listcomp>s	z1cleanTestCase.test_simple_run.<locals>.<listcomp>�
build_temp�	build_lib�
bdist_base�
build_scripts�
build_base�one�two�three�z%s was not removed)rrrrr)rrr)
Zcreate_distrr�mkdir�setattrZ
write_filerr	�allZensure_finalizedZrunZassertFalse�exists)�selfZdist�cmd�dirs�namer�fr)rr
�test_simple_runs*


$	

	
zcleanTestCase.test_simple_runN)�__name__�
__module__�__qualname__r!rrrr
rsrcCs
tjt�S)N)�unittestZ	makeSuiterrrrr
�
test_suite/sr&�__main__)�__doc__�sysrr%ZgetpassZdistutils.command.cleanrZdistutils.testsrZtest.supportrZTempdirManagerZLoggingSilencerZTestCaserr&r"rrrr
�<module>s"