Your IP : 216.73.216.213


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-2.pyc



���]��@s�ddlZddlZddlZddlZddlmZddlmZddlm	Z	Gdd�dej
ejej�Z
dd�Zed	kr�e	e��dS)
�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/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_finalized�runZassertFalse�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__)�sysrr&ZgetpassZdistutils.command.cleanrZdistutils.testsrZtest.supportrZTempdirManagerZLoggingSilencerZTestCaserr'r#rrrr
�<module>s"