Your IP : 216.73.216.213


Current Path : /opt/alt/python34/lib64/python3.4/distutils/tests/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/distutils/tests/__pycache__/test_clean.cpython-34.pyc

�
i f��@s�dZddlZddlZddlZddlZddlmZddlmZddl	m
Z
Gdd�dejejej
�Zdd	�Zed
kr�e
e��ndS)z"Tests for distutils.command.clean.�N)�clean)�support)�run_unittestc@seZdZdd�ZdS)�
cleanTestCasecs|j�\�}t|�}�fdd�d
D�}xp|D]h\}}tj|�t|||�|dkryq>nx*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/python34/lib64/python3.4/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"