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



��Yf�@s�dZddlZddlZddlmZddlmZddlmZGdd�dej	ej
�Zdd	�Ze
d
kr�ee��dS)z"Tests for distutils.command.bdist.�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�ZmsiZbztarZgztarZrpmZtarZwininstZxztar�zipZztar)�create_distr�formats�ensure_finalizedZassertEqual�sortedZformat_command)�self�dist�cmdr	�found�r�?/opt/alt/python35/lib64/python3.5/distutils/tests/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)
rrZ
skip_buildr
Zcommand_obj�os�name�appendZget_finalized_commandZ
assertTrue)rr
r�namesrZsubcmdrrr�test_skip_builds	



zBuildTestCase.test_skip_buildN)�__name__�
__module__�__qualname__rrrrrrr
srcCs
tjt�S)N)�unittestZ	makeSuiterrrrr�
test_suite.sr�__main__)�__doc__rrZtest.supportrZdistutils.command.bdistrZdistutils.testsrZTempdirManagerZTestCaserrrrrrr�<module>s#