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_bdist.cpython-35.opt-2.pyc



���]�@s�ddlZddlZddlmZddlmZddlmZGdd�dejej	�Z
dd�Zed	kr�ee��dS)
�N)�run_unittest)�bdist)�supportc@s(eZdZdd�Zdd�ZdS)�
BuildTestCasec	Cs�|j�d}t|�}dg|_|j�|j|jdg�dddddddd	d
g	}t|j�}|j||�dS)N�Zmsi�bztar�gztarZrpm�tarZwininst�xztar�zipZztar)�create_distr�formats�ensure_finalizedZassertEqual�sortedZformat_command)�self�dist�cmdr
�found�r�//opt/alt/python35/lib64/python3.5/test_bdist.py�test_formats
s
zBuildTestCase.test_formatscCs�|j�d}t|�}d|_|j�||jd<ddg}tjdkrd|jd�x4|D],}|j|�}|j	|jd|�qkWdS)NrrZ
bdist_dumbZ
bdist_wininst�ntZ	bdist_msiz&%s should take --skip-build from bdist)
rrZ
skip_buildrZcommand_obj�os�name�appendZget_finalized_commandZ
assertTrue)rrr�namesrZsubcmdrrr�test_skip_builds	



zBuildTestCase.test_skip_buildN)�__name__�
__module__�__qualname__rrrrrrr
srcCs
tjt�S)N)�unittestZ	makeSuiterrrrr�
test_suite.sr!�__main__)
rr Ztest.supportrZdistutils.command.bdistrZdistutils.testsrZTempdirManagerZTestCaserr!rrrrr�<module>s#