Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.9/distutils/tests/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.9/distutils/tests/__pycache__/test_bdist.cpython-39.opt-1.pyc

a

��ge�@stdZddlZddlZddlmZddlZddlmZddlm	Z	Gdd�de	j
ej�Zdd	�Z
ed
krpee
��dS)z"Tests for distutils.command.bdist.�N)�run_unittest)�bdist)�supportc@seZdZdd�Zdd�ZdS)�
BuildTestCasecCsV|��d}t|�}dg|_|��|�|jdg�gd�}t|j�}|�||�dS)N��msi)	�bztar�gztarrZrpm�tarZwininst�xztar�zipZztar)�create_distr�formats�ensure_finalizedZassertEqual�sortedZformat_command)�self�dist�cmdr�found�r�6/usr/local/lib/python3.9/distutils/tests/test_bdist.py�test_formatss
zBuildTestCase.test_formatsc	Cs�|��d}t|�}d|_|��||jd<ddg}tjdkrH|�d�|D]d}t�	��(t�
ddt�|�|�}Wd�n1s�0Yt
|d	d
�r�qL|�|jd|�qLdS)NrrZ
bdist_dumbZ
bdist_wininst�ntZ	bdist_msi�ignorez#bdist_wininst command is deprecatedZ_unsupportedFz&%s should take --skip-build from bdist)r
rZ
skip_buildrZcommand_obj�os�name�append�warnings�catch_warnings�filterwarnings�DeprecationWarningZget_finalized_command�getattrZ
assertTrue)rrr�namesrZsubcmdrrr�test_skip_builds&



�(�zBuildTestCase.test_skip_buildN)�__name__�
__module__�__qualname__rr#rrrrrsrcCs
t�t�S)N)�unittestZ	makeSuiterrrrr�
test_suite5sr(�__main__)�__doc__rr'Ztest.supportrrZdistutils.command.bdistrZdistutils.testsrZTempdirManagerZTestCaserr(r$rrrr�<module>s�*

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists