
    e	                         d Z ddlZddlZddlmZ ddlmZ  G d dej        ej        ej	        ej
                  Zedk    r ej                     dS dS )z)Tests for distutils.command.install_data.    N)install_data)supportc                       e Zd Zd ZdS )InstallDataTestCasec                 F
   |                                  \  }}t          |          }t          j                            |d          x|_        }t          j                            |d          }|                     |d           t          j                            |d          }t          j                            |d          }|                     |d           |||gfg|_        |                     |	                                |||gfg           |
                                 |                                 |                     t          |                                          d           t          j                            |          d         }|                     t          j                            t          j                            ||                               t          j                            |          d         }	|                     t          j                            t          j                            ||	                               g |_        d|_        |
                                 |                                 |                     t          |                                          d           |                     t          j                            t          j                            ||                               |                     t          j                            t          j                            ||	                               g |_        t          j                            |d	          |_        t          j                            |j        d
          }
t          j                            |d          }t          j                            |j        d          }|                     |d           |||gfd
|gf|g fg|_        |
                                 |                                 |                     t          |                                          d           |                     t          j                            t          j                            ||                               |                     t          j                            t          j                            ||	                               d S )Ninstonexxxinst2two      rootinst3inst4threexx   )create_distr   ospathjoininstall_dir
write_file
data_filesassertEqual
get_inputsensure_finalizedrunlenget_outputssplit
assertTrueexistsoutfileswarn_dirr   )selfpkg_dirdistcmdr   r	   r   r   rtworoner   r   r   s                3  /home/conda/feedstock_root/build_artifacts/python-split_1708115622739/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.11/distutils/tests/test_install_data.pytest_simple_runz#InstallDataTestCase.test_simple_run   s   ((**4  !#gv!>!>>$
 gll7E**U###Wg..gll7E**U###u~.))C%#+@AAA 				 	S__..//333w}}S!!"%rw||E4'@'@AABBBw}}S!!"%rw||D$'?'?@@AAA 			 	S__..//333rw||E4'@'@AABBBrw||D$'?'?@@AAA 7<<00S_g66Wg..S_g66t$$$u~"UG, "+' 				 	S__..//333rw||E4'@'@AABBBrw||D$'?'?@@AAAAA    N)__name__
__module____qualname__r/    r0   r.   r   r      s(        
7B 7B 7B 7B 7Br0   r   __main__)__doc__r   unittestdistutils.command.install_datar   distutils.testsr   TempdirManagerLoggingSilencerEnvironGuardTestCaser   r1   mainr4   r0   r.   <module>r?      s    / / 				  7 7 7 7 7 7 # # # # # #<B <B <B <B <B'0!1!."+<B <B <B| zHMOOOOO r0   