Your IP : 216.73.216.213


Current Path : /opt/alt/python36/lib64/python3.6/distutils/tests/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/distutils/tests/__pycache__/test_bdist.cpython-36.opt-2.pyc

3

��2a��@shddlZddlZddlmZddlmZddlmZGdd�dejej	�Z
dd�Zed	krdee��dS)
�N)�run_unittest)�bdist)�supportc@seZdZdd�Zdd�ZdS)�
BuildTestCasec	Csd|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/python36/lib64/python3.6/test_bdist.py�test_formats
s

zBuildTestCase.test_formatscCs�|j�d}t|�}d|_|j�||jd<ddg}tjdkrH|jd�x6|D].}|j|�}t	|dd�rjqN|j
|jd	|�qNWdS)
NrrZ
bdist_dumbZ
bdist_wininst�ntZ	bdist_msiZ_unsupportedFz&%s should take --skip-build from bdist)rrZ
skip_buildr
Zcommand_obj�os�name�appendZget_finalized_command�getattrZ
assertTrue)rr
r�namesrZsubcmdrrr�test_skip_builds




zBuildTestCase.test_skip_buildN)�__name__�
__module__�__qualname__rrrrrrr
srcCs
tjt�S)N)�unittestZ	makeSuiterrrrr�
test_suite1sr�__main__)
rrZtest.supportrZdistutils.command.bdistrZdistutils.testsrZTempdirManagerZTestCaserrrrrrr�<module>s&