Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.11/distutils/tests/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.11/distutils/tests/__pycache__/test_bdist.cpython-311.pyc

�

SԚg��
�dZddlZddlZddlZej��5ejde��ddlmZddl	m
Z
ddd��n#1swxYwYGd�de
jej��Z
edkrej��dSdS)	z"Tests for distutils.command.bdist.�N�ignore)�bdist)�supportc��eZdZd�Zd�ZdS)�
BuildTestCasec�$�|���d}t|��}dg|_|���|�|jdg��gd�}t|j��}|�||��dS)N��tar)�bztar�gztar�rpmr
�xztar�zip�ztar)�create_distr�formats�ensure_finalized�assertEqual�sorted�format_command)�self�dist�cmdr�founds     �7/usr/local/lib/python3.11/distutils/tests/test_bdist.py�test_formatszBuildTestCase.test_formatss������!�!�!�$���D�k�k���g��������������u�g�.�.�.�K�J�J���s�)�*�*�������(�(�(�(�(�c�6�|���d}t|��}d|_|���||jd<dD]G}|�|��}t
|dd��r�)|�|jd|z���HdS)Nr	r)�
bdist_dumb�_unsupportedFz&%s should take --skip-build from bdist)rr�
skip_buildr�command_obj�get_finalized_command�getattr�
assertTrue)rrr�name�subcmds     r�test_skip_buildzBuildTestCase.test_skip_builds������!�!�!�$���D�k�k�����������$'����!�"�	M�	M�D��.�.�t�4�4�F��v�~�u�5�5�
���O�O�F�-�D�t�K�
M�
M�
M�
M�	M�	MrN)�__name__�
__module__�__qualname__rr(�rrrrs7������)�)�)�M�M�M�M�Mrr�__main__)�__doc__�os�unittest�warnings�catch_warnings�simplefilter�DeprecationWarning�distutils.command.bdistr�distutils.testsr�TempdirManager�TestCaserr)�mainr,rr�<module>r:s(��(�(�	�	�	�	����������X����(�(��H��(�$6�7�7�7�-�-�-�-�-�-�'�'�'�'�'�'�(�(�(�(�(�(�(�(�(�(�(����(�(�(�(�M�M�M�M�M�G�*��%�M�M�M�D�z����H�M�O�O�O�O�O��s�A�A�A

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