HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/python38/lib/python3.8/distutils/tests/__pycache__/test_install_data.cpython-38.opt-1.pyc
U

�i�_
�@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/python38/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�>