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_dep_util.cpython-311.pyc

�

SԚg�
���dZddlZddlZddlmZmZmZddlmZddl	m
Z
Gd�de
jej��Z
edkrej��dSdS)	zTests for distutils.dep_util.�N)�newer�newer_pairwise�newer_group)�DistutilsFileError)�supportc� �eZdZd�Zd�Zd�ZdS)�DepUtilTestCasec��|���}tj�|d��}tj�t
��}|�tt||��|�	|��|�
t|d����|�
t||����|�t||����dS)N�new�I_dont_exist)�mkdtemp�os�path�join�abspath�__file__�assertRaisesrr�
write_file�
assertTrue�assertFalse)�self�tmpdir�new_file�old_files    �:/usr/local/lib/python3.11/distutils/tests/test_dep_util.py�
test_newerzDepUtilTestCase.test_newers����������7�<�<���.�.���7�?�?�8�,�,��	
���,�e�X�x�H�H�H�	
����!�!�!�����h��7�7�8�8�8�����h��1�1�2�2�2�	
����x��2�2�3�3�3�3�3�c���|���}tj�|d��}tj�|d��}tj|��tj|��tj�|d��}tj�|d��}tj�t��}tj�|d��}|�|��|�|��|�|��|�t||g||g��|g|gf��dS)N�sources�targets�one�two�four)
r
rrr�mkdirrrr�assertEqualr)rrrr r!r"�threer#s        r�test_newer_pairwisez#DepUtilTestCase.test_newer_pairwises"���������'�,�,�v�y�1�1���'�,�,�v�y�1�1��
������
�������g�l�l�7�E�*�*���g�l�l�7�E�*�*�������)�)���w�|�|�G�V�,�,����������������������������c�
�U�D�M�B�B��%����	*�	*�	*�	*�	*rc���|���}tj�|d��}tj|��tj�|d��}tj�|d��}tj�|d��}tj�t��}|�|��|�|��|�|��|�t|||g|����|�
t|||g|����tj|��|�tt|||g|��|�
t|||g|d�����|�t|||g|d�����dS)Nrr!r"r&�ignore)�missingr)r
rrrr$rrrrrr�remover�OSError)rrrr!r"r&rs       r�test_newer_groupz DepUtilTestCase.test_newer_group/s����������'�,�,�v�y�1�1��
�������g�l�l�7�E�*�*���g�l�l�7�E�*�*������W�g�.�.���7�?�?�8�,�,��	
�������������������������S�#�u�$5�x�@�@�A�A�A�����c�3��%9�5�A�A�B�B�B�	�	�#�������'�;��c�8�0D�e�L�L�L�����c�3��%9�5�-5�7�7�7�	8�	8�	8�	
����S�#�x�$8�%�,3�5�5�5�	6�	6�	6�	6�	6rN)�__name__�
__module__�__qualname__rr'r-�rrr	r		sA������4�4�4�&*�*�*�"6�6�6�6�6rr	�__main__)�__doc__�unittestr�distutils.dep_utilrrr�distutils.errorsr�distutils.testsr�TempdirManager�TestCaser	r.�mainr1rr�<module>r;s���#�#�����	�	�	�	�A�A�A�A�A�A�A�A�A�A�/�/�/�/�/�/�#�#�#�#�#�#�?6�?6�?6�?6�?6�g�,�h�.?�?6�?6�?6�D�z����H�M�O�O�O�O�O��r

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