Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/distutils/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/distutils/tests/__pycache__/test_install_data.cpython-38.pyc
U

@��g
�@stdZddlZddlZddlmZddlmZddlmZGdd�dej	ej
ejej�Z
dd	�Zed
krpee��dS)z)Tests for distutils.command.install_data.�N)�install_data)�support)�run_unittestc@seZdZdd�ZdS)�InstallDataTestCasec
CsF|��\}}t|�}tj�|d�|_}tj�|d�}|�|d�tj�|d�}tj�|d�}|�|d�|||gfg|_|�|�	�|||gfg�|�
�|��|�t|�
��d�tj�|�d}|�tj�tj�||���tj�|�d}	|�tj�tj�||	���g|_d|_|�
�|��|�t|�
��d�|�tj�tj�||���|�tj�tj�||	���g|_tj�|d	�|_tj�|jd
�}
tj�|d�}tj�|jd�}|�|d
�|||gfd
|gf|gfg|_|�
�|��|�t|�
��d�|�tj�tj�||���|�tj�tj�||	���dS)N�inst�oneZxxx�inst2�two������root�inst3�inst4�threeZxx�)Zcreate_distr�os�path�joinZinstall_dirZ
write_fileZ
data_filesZassertEqualZ
get_inputsZensure_finalized�run�lenZget_outputs�splitZ
assertTrue�existsZoutfilesZwarn_dirr
)
�selfZpkg_dir�dist�cmdrrrr	ZrtwoZronerrr�r�@/opt/cppython/lib/python3.8/distutils/tests/test_install_data.py�test_simple_runsN
�z#InstallDataTestCase.test_simple_runN)�__name__�
__module__�__qualname__rrrrrr	srcCs
t�t�S)N)�unittestZ	makeSuiterrrrr�
test_suiteGsr#�__main__)�__doc__rr"Zdistutils.command.install_datarZdistutils.testsrZtest.supportrZTempdirManagerZLoggingSilencerZEnvironGuardZTestCaserr#rrrrr�<module>s�>

F1le Man4ger